|
|
|
@ -45,8 +45,6 @@ public class IocValidatorTest |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[UsedImplicitly] |
|
|
|
[UsedImplicitly] |
|
|
|
public interface ITestFactory |
|
|
|
public interface ITestFactory |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -60,8 +58,6 @@ public class IocValidatorTest |
|
|
|
ITest2 Create(ITest test); |
|
|
|
ITest2 Create(ITest test); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[UsedImplicitly] |
|
|
|
[UsedImplicitly] |
|
|
|
public interface IInvalidFactory |
|
|
|
public interface IInvalidFactory |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -134,7 +130,6 @@ public class IocValidatorTest |
|
|
|
parameterMock.Verify(p => p.Method(), Times.Never); |
|
|
|
parameterMock.Verify(p => p.Method(), Times.Never); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
[Test] |
|
|
|
public void TestValidateWithInvalidParameterWithFactory() |
|
|
|
public void TestValidateWithInvalidParameterWithFactory() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|