StatisticsServiceClientFallback implements StatisticsServiceClient { @Override public void updateStatistics(String accountName, Account account) { LOGGER.error("Error during update statistics for account: {}", accountName); }  @Override void updateStatistics(String accountName, Account account);  }
@Test public void testUpdateStatisticsWithFailFallback(){ statisticsServiceClient.updateStatistics("test", new Account()); outputCapture.expect(containsString("Error during update statistics for account: test")); }