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