public class TestdataUtils {
public static SolutionDescriptor buildSolutionDescriptor(Class<? extends Solution> solutionClass,
Class<?> ... entityClasses) {
DescriptorPolicy descriptorPolicy = new DescriptorPolicy();
SolutionDescriptor solutionDescriptor = new SolutionDescriptor(solutionClass);
solutionDescriptor.processAnnotations(descriptorPolicy);
for (Class<?> entityClass : entityClasses) {
EntityDescriptor entityDescriptor = new EntityDescriptor(
solutionDescriptor, entityClass);