Created
April 29, 2013 10:23
-
-
Save jamieowen/5480819 to your computer and use it in GitHub Desktop.
Shorthand hamcrest function for the hamcrest ArrayExactMatcher gist.
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
package matchers { | |
import org.hamcrest.Matcher; | |
/** | |
* Shorthand hamcrest function style of the ArrayExactMatcher. | |
* | |
* @author jamieowen | |
*/ | |
public function arrayExact(items:Array) : Matcher | |
{ | |
return new ArrayExactMatcher(items); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment