@Test
public void testValidate() throws Exception {

    LookupValidator validator = new LookupValidator("true", "false");
    assertTrue(validator.validate("true"));
    assertTrue(validator.validate("false"));
    assertFalse(validator.validate("FALSE"));
    assertFalse(validator.validate("none"));
    assertFalse(validator.validate(""));
}