refactoring test classes.

This commit is contained in:
alexandre-spieser
2018-02-05 23:48:11 +00:00
parent 03b0e4265b
commit 1a83abd25f
13 changed files with 508 additions and 445 deletions
@@ -0,0 +1,26 @@
using IntegrationTests.Infrastructure;
using MongoDB.Bson.Serialization.Attributes;
using MongoDbGenericRepository.Models;
using NUnit.Framework;
using System;
namespace IntegrationTests
{
public class PartitionedTKeyTestDocument : TestDoc<Guid>, IPartitionedDocument
{
public PartitionedTKeyTestDocument()
{
PartitionKey = "TestPartitionKey";
}
public string PartitionKey { get; set; }
}
[TestFixture]
public class CRUDTKeyPartitionedTests : MongoDBTestBase<PartitionedTKeyTestDocument, Guid>
{
public override string GetClassName()
{
return "CRUDTKeyPartitionedTests";
}
}
}