r.setProductConfiguration(pc);
r.setGroupConfiguration(null);
server.save(r);
Query<CalculationResult> q = server.createNamedQuery(CalculationResult.class, "loadResult");
q.setParameter("charge", charge);
List<CalculationResult> results = q.findList();
Assert.assertTrue(!results.isEmpty());