示例#1
0
 public void CanAskFactoryIfComponentIsKnownType()
 {
     Assert.IsTrue(factory.IsKnownInstance(factory.Create <IObjectReturningNewGuids>()));
     Assert.IsFalse(factory.IsKnownInstance(new object()));
 }