Esempio n. 1
0
        public void ClassWithDependencyShouldBeConstructedWithMockedDependency()
        {
            // Exercise
            var instance = _automocker.GetInstance <ClassWithSimpleDependency>();

            // Verify
            var dependencyMock = Mock.Get(instance.Dependency);

            Assert.That(dependencyMock, Is.Not.Null);
        }