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