assertFalse(expression.isExpressionMatch(BASE + "whatever"));
}
@Test
public void testOnlyLocalWildcard() throws Exception {
MailboxQuery expression = create("%");
assertTrue(expression.isExpressionMatch(""));
assertTrue(expression.isExpressionMatch(SECOND_PART));
assertTrue(expression.isExpressionMatch(PART));
assertTrue(expression.isExpressionMatch(PART + SECOND_PART));
assertFalse(expression.isExpressionMatch(PART + '.' + SECOND_PART));
}