@Test
void testMisc() throws Exception {

    final String animal1 = "?at";
    final String animal2 = "?o?se";
    final String animal3 = "*s";
    final String vehicle1 = "J*";
    final String vehicle2 = "????";
    assertTrue(SearchPattern.wildcardMatch(animal1, "bat"));
    assertTrue(SearchPattern.wildcardMatch(animal1, "cat"));
    assertTrue(SearchPattern.wildcardMatch(animal2, "horse"));
    assertTrue(SearchPattern.wildcardMatch(animal2, "mouse"));
    assertTrue(SearchPattern.wildcardMatch(animal3, "dogs"));
    assertTrue(SearchPattern.wildcardMatch(animal3, "horses"));
    assertTrue(SearchPattern.wildcardMatch(vehicle1, "Jeep"));
    assertTrue(SearchPattern.wildcardMatch(vehicle2, "ford"));
    Assertions.assertFalse(SearchPattern.wildcardMatch(vehicle2, "chevy"));
    assertTrue(SearchPattern.wildcardMatch("*", "cAr"));
    assertTrue(SearchPattern.wildcardMatch("*/foo", "/bar/foo"));
}