@Test
public void writeLineWithDateShouldDelegateToWriter() throws Exception {

	givenCSVLoggerIsCreated();
	givenWriterManagerReturnsWriterMock();
	givenCSVLoggerIsOpen();
	Date inputDate = new Date();
	csvLogger.writeLine(inputDate);
	thenWriterShouldWriteLine("" + inputDate);
}