File tree 2 files changed +4
-0
lines changed
hamcrest-integration/src/main/java/org/hamcrest/integration
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ public class EasyMock2Adapter implements IArgumentMatcher {
18
18
* Hamcrest {@link org.hamcrest.Matcher} to act as an
19
19
* EasyMock {@link org.easymock.IArgumentMatcher} and
20
20
* report it to EasyMock so it can be kept track of.
21
+ *
22
+ * @return The EasyMock matcher.
21
23
*/
22
24
public static IArgumentMatcher adapt (Matcher <?> matcher ) {
23
25
EasyMock2Adapter easyMock2Matcher = new EasyMock2Adapter (matcher );
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ public class JMock1Adapter implements Constraint {
18
18
* Convenience factory method that will adapt a
19
19
* Hamcrest {@link org.hamcrest.Matcher} to act as an
20
20
* jMock {@link org.jmock.core.Constraint}.
21
+ *
22
+ * @return The jMock constraint.
21
23
*/
22
24
public static Constraint adapt (Matcher <?> matcher ) {
23
25
return new JMock1Adapter (matcher );
You can’t perform that action at this time.
0 commit comments