}
protected String getSpringContextLocation() {
if (this.getClass().isAnnotationPresent(ContextConfiguration.class)) {
ContextConfiguration config = this.getClass().getAnnotation(ContextConfiguration.class);
String[] locations = config.locations();
return StringUtil.unsplit(",", locations);
} else {
return DEFAULT_SPRING_CONTEXT_LOCATION;
}
}