public void ClassWithDependencyShouldBeConstructedWithMockedDependency() { // Exercise var instance = _automocker.GetInstance <ClassWithSimpleDependency>(); // Verify var dependencyMock = Mock.Get(instance.Dependency); Assert.That(dependencyMock, Is.Not.Null); }