Exemplo n.º 1
0
        public static MockMoq <T> CreateMockedDepProp <T>(string dependencyName, string methodName, object value = null) where T : class
        {
            var mocker = new DependencyMocker();

            mocker.MockDependencyMethodCall <T>(dependencyName, methodName, value);
            return(mocker.mockTarget as MockMoq <T>);
        }
Exemplo n.º 2
0
 protected void MockDependencyMethodCall <T>(string dependencyName, string methodName, object value) where T : class
 {
     dependencyMocker.MockDependencyMethodCall <T>(dependencyName, methodName, value);
 }