@Test
public void testGetLogFileContentWhenUserIsOnWindowsShouldConvertLineBreaks() {

    //GIVEN
    String expectedBody = "content\r\n";
    String userAgentWindows = "SOMETHINGSOMETHING-WINDOWS";
    String body = "content\n";
    String fileName = "something";
    given(logFileProvider.getLogContent(fileName)).willReturn(body);
    //WHEN
    ResponseEntity<String> result = underTest.getLogFileContent(fileName, true, userAgentWindows);
    //THEN
    assertEquals(expectedBody, result.getBody());
}