@Test public void testUnsupportedFormatException() { try { buildUnsupportedFormatException(); } catch (UnsupportedFormatException e) { Assert.assertTrue(e.getMessage().contains("Mock for Format")); } }
public UnsupportedFormatException(Format<?> format) { super(format.toString()); }
UnsupportedFormatException extends RuntimeException { public UnsupportedFormatException(Format<?> format) { super(format.toString()); } }
UnsupportedFormatException extends RuntimeException { public UnsupportedFormatException(Format<?> format) { super(format.toString()); } UnsupportedFormatException(Format<?> format); }
UnsupportedFormatException extends RuntimeException { public UnsupportedFormatException(Format<?> format) { super(format.toString()); } UnsupportedFormatException(Format<?> format);  }
UnsupportedFormatException extends RuntimeException { public UnsupportedFormatException(Format<?> format) { super(format.toString()); } UnsupportedFormatException(Format<?> format);   }