@Test
public void testLogParameters() {

    // GIVEN
    given(properties.getFileLimit()).willReturn(4);
    Whitebox.setInternalState(underTest, "logger", logger);
    // WHEN
    underTest.logParameters();
    // THEN
    verify(logger).info("Filelimit method is used to maintain log files with parameters: filelimit: 4");
}