Exemplo n.º 1
0
        public InstanceRefTester()
        {
            instance = new NullInstance();
            familyMock = Substitute.For<IFamily>();

            instanceRef = new InstanceRef(instance, familyMock);
        }
Exemplo n.º 2
0
        public void SetUp()
        {
            instance = new NullInstance();
            family = MockRepository.GenerateMock<IFamily>();

            instanceRef = new InstanceRef(instance, family);
        }
Exemplo n.º 3
0
        public InstanceRefTester()
        {
            instance = new NullInstance();
            familyMock = new Mock<IFamily>();

            instanceRef = new InstanceRef(instance, familyMock.Object);
        }