@Test
public void testGetCountOfMessagesShouldReturnWithZeroWhenTheMessageFolderDoesNotExists() {

    //GIVEN
    given(propertyHolder.get("log.folder")).willReturn("src/test/resources/something");
    //WHEN
    int result = underTest.getCountOfMessages();
    //THEN
    Assert.assertEquals(result, 0);
}