Created
June 1, 2016 01:11
-
-
Save mroger/dbaa64f9a823abf8bc4d22d4fe1b4ef6 to your computer and use it in GitHub Desktop.
Proxied interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface PersonMatcher extends Matcher<Person> { | |
PersonMatcher withName(String expected); | |
PersonMatcher withName(Matcher<? super String> matching); | |
PersonMatcher withAge(int expected); | |
PersonMatcher withAge(Matcher<Integer> matching); | |
PersonMatcher withOptions(List<String> options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment