Skip to content

Instantly share code, notes, and snippets.

@jamieowen
Created April 29, 2013 10:23
Show Gist options
  • Save jamieowen/5480819 to your computer and use it in GitHub Desktop.
Save jamieowen/5480819 to your computer and use it in GitHub Desktop.
Shorthand hamcrest function for the hamcrest ArrayExactMatcher gist.
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