Ascending index tests and Descending Index and tests
This commit is contained in:
@@ -6,18 +6,13 @@ namespace CoreUnitTests.Infrastructure;
|
||||
|
||||
public class GenericTestContext<TSut>
|
||||
{
|
||||
public GenericTestContext()
|
||||
{
|
||||
Fixture = new Fixture().Customize(new AutoMoqCustomization());
|
||||
}
|
||||
public GenericTestContext() => Fixture = new Fixture().Customize(new AutoMoqCustomization());
|
||||
|
||||
protected Mock<T> MockOf<T>()
|
||||
where T : class
|
||||
{
|
||||
return Fixture.Freeze<Mock<T>>();
|
||||
}
|
||||
where T : class =>
|
||||
Fixture.Freeze<Mock<T>>();
|
||||
|
||||
protected IFixture Fixture { get; set; }
|
||||
|
||||
protected TSut Sut { get => Fixture.Create<TSut>(); }
|
||||
}
|
||||
protected TSut Sut => Fixture.Create<TSut>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user