@Test
public void toStringOnOpenedLoggerShouldReturnStringContainingFileInformation() throws Exception {

	givenCSVLoggerIsCreated();
	givenWriterManagerReturnsWriterMock();
	givenCSVLoggerIsOpen();
	givenFileExists();
	String expectedToString =
	        "CSV File [" + testFileManager.getTestFileName() + "], last modfied at ["
	                + testFileManager.getLastModifiedTimestampOfTestFileAsString() + "], size ["
	                + testFileManager.getLengthOfTestFile() + " bytes].";
	assertThat(csvLogger.toString(), is(expectedToString));
}