@Test
public void testNamePatternBlank() {

  expectedException.expect(IllegalArgumentException.class);
  expectedException.expectMessage(is("the pattern cannot be blank"));
  HeapDumpNameFormatter.validate("  \t  ");
}