@Test public void writeWithNullStringShouldDelegateToWriter() throws Exception { givenCSVLoggerIsCreated(); givenWriterManagerReturnsWriterMock(); givenCSVLoggerIsOpen(); String nullString = null; csvLogger.write(nullString); thenWriterShouldWriteOnlyDelimiter(); }
public void write(double value) throws IOException { write(String.valueOf(value)); }
CSVLogger { public void write(double value) throws IOException { write(String.valueOf(value)); } }
CSVLogger { public void write(double value) throws IOException { write(String.valueOf(value)); }  }
CSVLogger { public void write(double value) throws IOException { write(String.valueOf(value)); }  void setFilename(String filename); String getFilename(); BufferedWriterManager getBufferedWriterManager(); void setBufferedWriterManager(BufferedWriterManager bufferedWriterManager); void setDelimiter(String delimiter); String getDelimiter(); void setNullString(String nullString); String getNullString(); void open(); void close(); void write(double value); void write(float value); void write(int value); void write(String string); void write(Date date); void writeLine(String[] values); void writeLine(String value); void writeLine(Date value); void writeLine(int value); void writeLine(float value); void writeLine(double value); @Override String toString(); }
CSVLogger { public void write(double value) throws IOException { write(String.valueOf(value)); }  void setFilename(String filename); String getFilename(); BufferedWriterManager getBufferedWriterManager(); void setBufferedWriterManager(BufferedWriterManager bufferedWriterManager); void setDelimiter(String delimiter); String getDelimiter(); void setNullString(String nullString); String getNullString(); void open(); void close(); void write(double value); void write(float value); void write(int value); void write(String string); void write(Date date); void writeLine(String[] values); void writeLine(String value); void writeLine(Date value); void writeLine(int value); void writeLine(float value); void writeLine(double value); @Override String toString(); static final String DEFAULT_DELIMITER; static final String DEFAULT_NULL_STRING; }