public void SetUp() { instance = new NullInstance(); family = MockRepository.GenerateMock<IFamily>(); instanceRef = new InstanceRef(instance, family); }
public InstanceRefTester() { instance = new NullInstance(); familyMock = Substitute.For<IFamily>(); instanceRef = new InstanceRef(instance, familyMock); }
protected virtual void MemberAdded(IFamily <TFamilyMember> family, TFamilyMember member) { }
public void CreateFamily() { _game = new Game<ComponentMatchingFamily>(); _family = new ComponentMatchingFamily(); _family.Setup(_game, typeof(MockNode)); }
public void ClearFamily() { _family = null; _game = null; }
public InstanceRef(Instance instance, IFamily family) { _instance = instance; _family = family; }
public Human(string name, DateTime birthday, IFamily parent) : this(name, birthday) { Parent = parent; }
public bool HasFamily(IFamily family) => familiesType.ContainsValue(family);
private MyFamily(T name, IFamily <T> parent) { this.name = name; this.parent = parent; }
public FamilyFactory() { _family = new TFamily(); }