public void TestInitialize() { this.stubInterface3 = MockRepository.GenerateStub <IInterface3>(); this.stubInterface4 = MockRepository.GenerateStub <IInterface4>(); this.stubSomeInterface = MockRepository.GenerateStub <ISomeInterface>(); this.stubSomeOtherInterface = MockRepository.GenerateStub <ISomeOtherInterface>(); }
public void TestInitialize() { this.mockInterface3 = Mock.Create <IInterface3>(); this.mockInterface4 = Mock.Create <IInterface4>(); this.mockSomeInterface = Mock.Create <ISomeInterface>(); this.mockSomeOtherInterface = Mock.Create <ISomeOtherInterface>(); }
public void TestInitialize() { this.subInterface3 = Substitute.For <IInterface3>(); this.subInterface4 = Substitute.For <IInterface4>(); this.subSomeInterface = Substitute.For <ISomeInterface>(); this.subSomeOtherInterface = Substitute.For <ISomeOtherInterface>(); }
public void TestInitialize() { this.fakeInterface3 = A.Fake <IInterface3>(); this.fakeInterface4 = A.Fake <IInterface4>(); this.fakeSomeInterface = A.Fake <ISomeInterface>(); this.fakeSomeOtherInterface = A.Fake <ISomeOtherInterface>(); }
public Class1(IInterface2 argument2, IInterface4 argument4, IInterface5 argument5, IInterface6 argument6, IInterface20 argument20) { Argument2 = argument2; Argument4 = argument4; Argument5 = argument5; Argument6 = argument6; Argument20 = argument20; }
public void GetIntMultipleSignatures_StateUnderTest_ExpectedBehavior1() { // Arrange var classWithMethods = this.CreateClassWithMethods(); IInterface4 interface4 = null; // Act var result = classWithMethods.GetIntMultipleSignatures( interface4); // Assert Assert.Fail(); }
public void GetIntMultipleSignatures_StateUnderTest_ExpectedBehavior1() { // Arrange var unitUnderTest = CreateClassWithMethods(); IInterface4 interface4 = TODO; // Act var result = unitUnderTest.GetIntMultipleSignatures( interface4); // Assert Assert.Fail(); }
public void GetIntMultipleSignatures_StateUnderTest_ExpectedBehavior1() { // Arrange var mocker = new AutoMoqer(); var classWithMethods = mocker.Create <ClassWithMethods>(); IInterface4 interface4 = null; // Act var result = classWithMethods.GetIntMultipleSignatures( interface4); // Assert Assert.Fail(); }
public void GetIntMultipleSignatures_StateUnderTest_ExpectedBehavior1() { // Arrange var classWithMethods = this.CreateClassWithMethods(); IInterface4 interface4 = null; // Act var result = classWithMethods.GetIntMultipleSignatures( interface4); // Assert Assert.True(false); this.mockRepository.VerifyAll(); }
public int GetIntMultipleSignatures(IInterface4 interface4) { return(0); }
public Class4(IInterface3 p1, IInterface4 p2 = null) { }
public Class1(IInterface3 p1, IInterface4 p2) { }
public Class4(IInterface3 p1, IInterface4 p2 = null) {}
public Class1(IInterface3 p1, IInterface4 p2) {}