public void Should_return_null() { var result = FactoryUnderTest.CreateRepository <MyUnboundEntity>(); Assert.Null(result); }
public void Should_return_the_expected_implementation() { var result = FactoryUnderTest.CreateRepository <MyEntity>(); Assert.IsType <TableStorageRepository <MyEntity> >(result); }
public void Should_return_a_TableStorageRepository_TModel() { var result = FactoryUnderTest.CreateRepository <MyUnboundEntity>(); Assert.IsType <TableStorageRepository <MyUnboundEntity> >(result); }
public void Should_throw_a_NotSupportedException() { Assert.Throws <NotSupportedException>(() => FactoryUnderTest.CreateRepository <MyUnboundEntity>(argSettings)); }