Ejemplo n.º 1
0
 /// <summary>
 /// Has the object already been created and
 /// cached in its Lifecycle?  Mostly useful
 /// for Singleton's
 /// </summary>
 /// <returns></returns>
 public bool ObjectHasBeenCreated()
 {
     return(_family.HasBeenCreated(_instance));
 }
        public void has_relays_from_IFamily()
        {
            familyMock.HasBeenCreated(instance).Returns(true);

            instanceRef.ObjectHasBeenCreated().ShouldBeTrue();
        }