### Question:
TeardownServiceHelper { public static void invokeTeardownServices(AbstractTestDataEntity abstractTestDataEntity) { invokeTeardownServices(abstractTestDataEntity, false); }  static void invokeTeardownServices(AbstractTestDataEntity abstractTestDataEntity); static void invokeTeardownServices(AbstractTestDataEntity abstractTestDataEntity, boolean asyncCall);  }### Answer:
@Test public void testInvokeAllTeardwonServices() { assertEquals(BeanLoader.loadMultipleBeans(TeardownService.class).size(), 5); DatabaseResultServiceImpl databaseResultService = mockDatabaseResultService(); GearmanResultServiceImpl gearmanResultService = mockGearmanResultService(); CacheHandlingServiceImpl cacheHandlingResultService = mockCacheHandlingResultService(); LogCleanUpServiceImpl logCleanUpResultService = mockLogCleanUpResultService(); TestSuite testSuite = BeanLoader.loadBean(TestSuite.class); testSuite.setState(TestSuiteState.RUNNING); TeardownServiceHelper.invokeTeardownServices(testSuite, false); assertEquals(testSuite.getState(), TestSuiteState.OK); assertTrue(testSuite.getStopDate().after(testSuite.getStartDate())); verify(databaseResultService).teardownTestSuite(eq(testSuite)); verify(gearmanResultService).tearDown(eq(Optional.of(testSuite)), anyBoolean()); verify(cacheHandlingResultService).teardownTestSuite(eq(testSuite)); verify(logCleanUpResultService).teardownTestSuite(eq(testSuite)); }