private CustomContainer_Get_ThereIsATypeRegisted_Type ( ) : void | ||
리턴 | void |
public void CustomContainer_Get_ThereIsATypeRegisted_Type()
{
var simpleObject = new SimpleObject();
CustomContainer.Register<ISimpleObject>(simpleObject);
//------------Execute Test---------------------------
var o = CustomContainer.Get<ISimpleObject>();
//------------Assert Results-------------------------
Assert.AreEqual(1, CustomContainer.EntiresCount);
Assert.AreEqual(simpleObject, o);
}