FilePersisterConfig implements Serializable { public static Builder builder() { return new Builder(); }  String getResultDirectory(); String getTargetResultFileName(); String getScreenshotFileName(); String getDiffFileName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); static final String DEFAULT_TARGET_RESULT_FILE_NAME; static final String DEFAULT_SCREENSHOT_FILE_NAME; static final String DEFAULT_DIFF_FILE_NAME; }
@Test public void testBuilder_defaultValue() throws Exception { FilePersisterConfig expected = new FilePersisterConfig(); FilePersisterConfig actual = FilePersisterConfig.builder().build(); assertThat(actual, is(expected)); }