public void TestInitialize()
        {
            FooBarSignature instanceMethod = new TestAssembly.PublicClass().FooBar;

            expressionBuilder = MockRepository.GenerateMock<IExpressionBuilder>();
            instanceMethodRequest = new MethodSourceCodeGenerationRequest(instanceMethod.Method, false, instanceMethod.Method.GetParameters().First());
            var testMethodValueProvider = MockRepository.GenerateMock<ITestMethodValueProvider>();
            testee = new NullArgumentMethodTestMethodSourceCodeGenerator(expressionBuilder, testMethodValueProvider);
        }
コード例 #2
0
        public void TestInitialize()
        {
            FooBarSignature instanceMethod = new TestAssembly.PublicClass().FooBar;

            expressionBuilder     = MockRepository.GenerateMock <IExpressionBuilder>();
            instanceMethodRequest = new MethodSourceCodeGenerationRequest(instanceMethod.Method, false, instanceMethod.Method.GetParameters().First());
            var testMethodValueProvider = MockRepository.GenerateMock <ITestMethodValueProvider>();

            testee = new NullArgumentMethodTestMethodSourceCodeGenerator(expressionBuilder, testMethodValueProvider);
        }
コード例 #3
0
 public MultipleConstructors(PublicClass publicClass, string name)
 {
 }
コード例 #4
0
 public MultipleConstructors(PublicClass publicClass)
 {
 }
コード例 #5
0
 protected ProtectedConstructor(PublicClass clazz)
 {
 }
コード例 #6
0
 public ClassContructor(PublicClass publicClass)
 {
 }
コード例 #7
0
 protected ProtectedConstructor(PublicClass clazz)
 {
 }
コード例 #8
0
 public MultipleConstructors(PublicClass publicClass, string name)
 {
 }
コード例 #9
0
 public MultipleConstructors(PublicClass publicClass)
 {
 }
コード例 #10
0
 public ClassContructor(PublicClass publicClass)
 {
 }