checkInvalid("not \r\n", key);
}
@Test
public void testShouldParseOr() throws Exception {
SearchKey oneKey = SearchKey.buildSeen();
SearchKey twoKey = SearchKey.buildDraft();
SearchKey key = SearchKey.buildOr(oneKey, twoKey);
checkValid("OR SEEN DRAFT\r\n", key);
checkValid("oR seen draft\r\n", key);
checkValid("or Seen drAFT\r\n", key);
checkInvalid("o\r\n", key);
checkInvalid("or\r\n", key);