@Test
public void testIsValidSearchTerm()
        throws Exception {

    SearchChannel channel = new What3WordsSearchChannel();
    SearchCriteria sc = new SearchCriteria();
    sc.setSearchString("asdf");
    assertFalse("Invalid search term: " + sc.getSearchString(), channel.isValidSearchTerm(sc));
    sc.setSearchString("carting.pint.invent");
    assertTrue("Valid search term: " + sc.getSearchString(), channel.isValidSearchTerm(sc));
}