### Question:
CommonInitializingServiceImpl implements InitializingService { static void checkConfiguration(TestSuite testSuite) throws SakuliInitException { if (StringUtils.isBlank(testSuite.getId())) { throw new SakuliInitException(String.format( "The property '%s' have not been set. Please check your '%s' file", TestSuiteProperties.SUITE_ID, TestSuiteProperties.TEST_SUITE_PROPERTIES_FILE_NAME)); } }  @Override int getServicePriority(); @Override void initTestSuite();  }### Answer:
@Test public void testCheckTestSuiteOk() throws Exception { CommonInitializingServiceImpl.checkConfiguration(new TestSuiteExampleBuilder().buildExample()); }
@Test(expectedExceptions = SakuliInitException.class) public void testCheckTestSuiteException() throws Exception { CommonInitializingServiceImpl.checkConfiguration(new TestSuite()); }