@Test
public final void testBuildMaintainerPropertiesJsonShouldCreateProperJson() {

    //GIVEN
    MaintainerProperties maintainerProperties = new MaintainerProperties("cron", "method", 10, "10S");
    String expected = "{\"cronExpression\":\"cron\",\"maintainerMethod\":\"method\",\"fileLimit\":10,\"timeLimit\":\"10S\"}";
    //WHEN
    String actual = underTest.buildMaintainerPropertiesJson(maintainerProperties);
    //THEN
    assertEquals(actual, expected);
}