@@ -0,0 +1,1146 @@
+package com.piggymetrics.account.client;%0A%0Aimport com.piggymetrics.account.domain.Account;%0Aimport org.junit.Before;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.boot.test.context.SpringBootTest;%0Aimport org.springframework.boot.test.rule.OutputCapture;%0Aimport org.springframework.test.context.junit4.SpringRunner;%0A%0Aimport static org.hamcrest.Matchers.containsString;%0A%0A/**%0A * @author cdov%0A */%0A@RunWith(SpringRunner.class)%0A@SpringBootTest(properties = %7B%0A        %22feign.hystrix.enabled=true%22%0A%7D)%0Apublic class StatisticsServiceClientFallbackTest %7B%0A    @Autowired%0A    private StatisticsServiceClient statisticsServiceClient;%0A%0A    @Rule%0A    public final OutputCapture outputCapture = new OutputCapture();%0A%0A    @Before%0A    public void setup() %7B%0A        outputCapture.reset();%0A    %7D%0A%0A    @Test%0A    public void testUpdateStatisticsWithFailFallback()%7B%0A        statisticsServiceClient.updateStatistics(%22test%22, new Account());%0A%0A        outputCapture.expect(containsString(%22Error during update statistics for account: test%22));%0A%0A    %7D%0A%0A%7D%0A%0A

add unit test for StatisticsServiceClientFallback