* @param testClass the test class
* @return created {@link org.springframework.context.ApplicationContext}
*/
private ApplicationContext getApplicationContext(TestClass testClass) {
SpringClientAnnotationConfiguration springConfiguration =
testClass.getAnnotation(SpringClientAnnotationConfiguration.class);
String[] packages = springConfiguration.packages();
Class<?>[] classes = springConfiguration.classes();
// creates standard spring annotated application context
return createAnnotatedApplicationContext(testClass, packages, classes);
}