NotEmpty extends IsEmpty { @Override public boolean apply(AdaptrisMessage message, String object) { return !(super.apply(message, object)); }  @Override boolean apply(AdaptrisMessage message, String object);  }
@Test public void testStringNotEmpty() { assertTrue(operator.apply(message, "string")); }
@Test public void testStringEmpty() { assertFalse(operator.apply(message, ""));; }
@Test public void testStringEmptyWithSpace() { assertTrue(operator.apply(message, " ")); }
@Test public void testStringNull() { assertFalse(operator.apply(message, null)); }
@Test public void testStringNotEmptyWithSpace() { assertTrue(operator.apply(message, " string")); }
@Test public void testMixedStringNotEmpty() { assertTrue(operator.apply(message, " string ")); }
@Test public void testIgnorewhitespaceWithEmptyString() { operator.setIgnoreWhitespace(true); assertFalse(operator.apply(message, " ")); }
@Test public void testIgnorewhitespaceWithLeadingSpace() { operator.setIgnoreWhitespace(true); assertTrue(operator.apply(message, " string")); }
@Test public void testIgnorewhitespaceWithString() { operator.setIgnoreWhitespace(true); assertTrue(operator.apply(message, "string")); }
@Test public void testIgnorewhitespaceWithMixedString() { operator.setIgnoreWhitespace(true); assertTrue(operator.apply(message, " string ")); }
@Test public void testMatchWhitespaceString() { assertTrue(operator.apply(message, " \t")); }
@Test public void testMatchMixedString() { assertTrue(operator.apply(message, " string ")); }
@Test public void testMatchIgnoreFlagWhitespaceString() { operator.setIgnoreWhitespace(true); assertFalse(operator.apply(message, " \t")); }
@Test public void testMatchIgnoreFlagWhitespaceMixedString() { operator.setIgnoreWhitespace(true); assertTrue(operator.apply(message, " string \t")); }