@Before public void setup() { when(ftpClientConfig.getDefaultDateFormatStr()).thenReturn("yyyy-MM-dd"); }