@Test public void testGetFileNameShouldReturnResponseFileName() { given(response.getWilmaMessageLoggerId()).willReturn(WILMA_MESSAGE_LOGGER_ID + "resp"); String actual = underTest.getFileName(response); assertEquals(actual, "path/" + WILMA_MESSAGE_LOGGER_ID + "resp.txt"); }
public String getFileName(final WilmaHttpRequest request) { String wilmaMessageLoggerId = request.getWilmaMessageLoggerId(); String path = getPath(); return path + "/" + wilmaMessageLoggerId + NAME_ENDING; }
FileNameProvider { public String getFileName(final WilmaHttpRequest request) { String wilmaMessageLoggerId = request.getWilmaMessageLoggerId(); String path = getPath(); return path + "/" + wilmaMessageLoggerId + NAME_ENDING; } }
FileNameProvider { public String getFileName(final WilmaHttpRequest request) { String wilmaMessageLoggerId = request.getWilmaMessageLoggerId(); String path = getPath(); return path + "/" + wilmaMessageLoggerId + NAME_ENDING; }  }
FileNameProvider { public String getFileName(final WilmaHttpRequest request) { String wilmaMessageLoggerId = request.getWilmaMessageLoggerId(); String path = getPath(); return path + "/" + wilmaMessageLoggerId + NAME_ENDING; }  String getFileName(final WilmaHttpRequest request); String getFileName(final WilmaHttpResponse response); }
FileNameProvider { public String getFileName(final WilmaHttpRequest request) { String wilmaMessageLoggerId = request.getWilmaMessageLoggerId(); String path = getPath(); return path + "/" + wilmaMessageLoggerId + NAME_ENDING; }  String getFileName(final WilmaHttpRequest request); String getFileName(final WilmaHttpResponse response);  }