public void TestSelfType() { SelfType type = new SelfType(); type.SelfProperty = type; ISimpleService svc = Simply.Do[ConfigKey].Resolve <ISimpleService>(); svc.TestSelfType(type).Should().Be.True(); }
public bool TestSelfType(SelfType selfObject) { return(object.ReferenceEquals(selfObject, selfObject.SelfProperty)); }