WriterSettingsBuilder { public WriterSettingsBuilder prettyPrinting(final boolean flag) { prettyPrinting = flag; return this; } WriterSettingsBuilder(); WriterSettingsBuilder overwriteIfExists(final boolean flag); WriterSettingsBuilder prettyPrinting(final boolean flag); WriterSettingsBuilder writeOutliers(final boolean flag); WriterSettingsBuilder writeIdlePoints(final boolean flag); WriterSettingsBuilder writeRoute(final boolean flag); WriterSettings build();  }
@Test public void prettyPrinting() { final WriterSettingsBuilder instance = new WriterSettingsBuilder(); instance.prettyPrinting(true); assertTrue(instance.build().prettyPrinting()); }