@Test
public void testIsMatched_happyPath() {

	// this documents some unexpected behavior of the ip matcher
	RangerSampleSimpleMatcher ipMatcher = createMatcher(new String[]{"US", "C*"} );
	Assert.assertTrue(ipMatcher.isMatched(createRequest("US")));
	Assert.assertTrue(ipMatcher.isMatched(createRequest("CA")));
	Assert.assertTrue(ipMatcher.isMatched(createRequest("C---")));
	Assert.assertFalse(ipMatcher.isMatched(createRequest(" US ")));
	Assert.assertFalse(ipMatcher.isMatched(createRequest("Us")));
	Assert.assertFalse(ipMatcher.isMatched(createRequest("ca")));
}