#bael-3314-new:Update JMockit articles (#14355)
* #bael-3314-new:remove unused method * #bael-3314-new:change private to protected
This commit is contained in:
committed by
GitHub
parent
66ac6d8816
commit
e34fd4fc22
+1
-1
@@ -31,7 +31,7 @@ public class AdvancedCollaboratorIntegrationTest {
|
||||
return "mocked: ";
|
||||
}
|
||||
};
|
||||
String res = mock.methodThatCallsPrivateMethod(1);
|
||||
String res = mock.methodThatCallsProtectedMethod(1);
|
||||
assertEquals("mocked: 1", res);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user