Files
mongodb-generic-repository/IntegrationTests/CRUDTKeyPartitionedTests.cs
T
2018-02-05 23:48:11 +00:00

27 lines
690 B
C#

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";
}
}
}