/// <summary> /// Creates the test ioc manager. /// </summary> /// <returns></returns> private static IIocManager CreateTestIocManager() { IocBuilder builder = new IocBuilder("Demo"); CastleWindsorIocBuilder castleWindsorIocBuilder = builder.UseCastleWindsor(); return(castleWindsorIocBuilder.Create()); }
public void Should_Instance_When_Initialize_Return_SameNameAndType() { IocBuilder builder = new IocBuilder("Demo"); var castleWindsorIocBuilder = builder.UseCastleWindsor(); castleWindsorIocBuilder.Name.ShouldBe("Demo"); castleWindsorIocBuilder.Type.ShouldBe("CastleWindsor"); }