public void GetInstanceOf_Returns_Null_For_Unsupported_Types() { //Arrange var provider = new LogicProvider(); //Act var result = provider.GetInstanceOf <DummyLogic>(); //Assert Assert.Null(result); }
public void GetInstanceOf_Returns_Null_For_Unsupported_Types() { //Arrange var provider = new LogicProvider(); //Act var result = provider.GetInstanceOf<DummyLogic>(); //Assert Assert.Null(result); }
public void GetInstanceOf_Returns_Instance_Of_ModelFactory_When_T_Is_IModelFactory() { //Arrange var provider = new LogicProvider(); //Act var result = provider.GetInstanceOf <IModelFactory>(); //Assert Assert.NotNull(result); Assert.IsType <ModelFactory>(result); }
public void GetInstanceOf_Returns_Instance_Of_ParsedLinksProcessor_When_T_Is_ILinksProcessor() { //Arrange var provider = new LogicProvider(); //Act var result = provider.GetInstanceOf <ILinksProcessor>(); //Assert Assert.NotNull(result); Assert.IsType <ParsedLinksProcessor>(result); }
public void GetInstanceOf_Returns_Instance_Of_MyCrawledPageProcessor_When_T_Is_ICrawledPageProcessor() { //Arrange var provider = new LogicProvider(); //Act var result = provider.GetInstanceOf <ICrawledPageProcessor>(); //Assert Assert.NotNull(result); Assert.IsType <MyCrawledPageProcessor>(result); }
public void GetInstanceOf_Returns_Instance_Of_ModelFactory_When_T_Is_IModelFactory() { //Arrange var provider = new LogicProvider(); //Act var result = provider.GetInstanceOf<IModelFactory>(); //Assert Assert.NotNull(result); Assert.IsType<ModelFactory>(result); }
public void GetInstanceOf_Returns_Instance_Of_ParsedLinksProcessor_When_T_Is_ILinksProcessor() { //Arrange var provider = new LogicProvider(); //Act var result = provider.GetInstanceOf<ILinksProcessor>(); //Assert Assert.NotNull(result); Assert.IsType<ParsedLinksProcessor>(result); }
public void GetInstanceOf_Returns_Instance_Of_MyCrawledPageProcessor_When_T_Is_ICrawledPageProcessor() { //Arrange var provider = new LogicProvider(); //Act var result = provider.GetInstanceOf<ICrawledPageProcessor>(); //Assert Assert.NotNull(result); Assert.IsType<MyCrawledPageProcessor>(result); }