@Test public void testToString() { UUID fileId = UUID.randomUUID(); assertThat(new BrownieFileNotFoundException(fileId).toString()) .isEqualTo("File not found: fileId = " + fileId); }
@Override public String toString() { return "File not found: fileId = " + fileId; }
BrownieFileNotFoundException extends RuntimeException { @Override public String toString() { return "File not found: fileId = " + fileId; } }
BrownieFileNotFoundException extends RuntimeException { @Override public String toString() { return "File not found: fileId = " + fileId; }  }
BrownieFileNotFoundException extends RuntimeException { @Override public String toString() { return "File not found: fileId = " + fileId; }  @Override String toString(); }
BrownieFileNotFoundException extends RuntimeException { @Override public String toString() { return "File not found: fileId = " + fileId; }  @Override String toString();  }