public InstanceRefTester() { instance = new NullInstance(); familyMock = Substitute.For<IFamily>(); instanceRef = new InstanceRef(instance, familyMock); }
public void SetUp() { instance = new NullInstance(); family = MockRepository.GenerateMock<IFamily>(); instanceRef = new InstanceRef(instance, family); }
public InstanceRefTester() { instance = new NullInstance(); familyMock = new Mock<IFamily>(); instanceRef = new InstanceRef(instance, familyMock.Object); }