@Test public void testGetCron() { when(configService.getCron()).thenReturn("0 * * * * *"); assertThat(schedulerFacade.getCron(), is("0 * * * * *")); }