Class JUnit4Test
java.lang.Object
otherTests.JUnit4Test
The Class JUnit4Test.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiduseArgumentMatchingFields(otherTests.JUnit4Test.AnotherClass anotherMock) Use argument matching fields.voiduseArgumentMatchingMethods(otherTests.JUnit4Test.AnotherClass anotherMock) Use argument matching methods.voidUse mocked instance.
-
Constructor Details
-
JUnit4Test
public JUnit4Test()
-
-
Method Details
-
useMockedInstance
public void useMockedInstance()Use mocked instance. -
useArgumentMatchingFields
public void useArgumentMatchingFields(otherTests.JUnit4Test.AnotherClass anotherMock) Use argument matching fields.- Parameters:
anotherMock- the another mock
-
useArgumentMatchingMethods
public void useArgumentMatchingMethods(otherTests.JUnit4Test.AnotherClass anotherMock) Use argument matching methods.- Parameters:
anotherMock- the another mock
-