public InstanceRefTester()
        {
            instance = new NullInstance();
            familyMock = Substitute.For<IFamily>();

            instanceRef = new InstanceRef(instance, familyMock);
        }
Example #2
0
        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);
        }