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