assertEquals(5, count);
HistoricVariableInstance variableInstance = null;
String[] variableNames = new String[]{"start-start", "start-end", "start-take", "end-start", "end-end"};
for (String variableName : variableNames) {
variableInstance = query.variableName(variableName).singleResult();
assertNotNull("Unable ot find variable with name '" + variableName + "'", variableInstance);
assertTrue("Variable '" + variableName + "' should be set to true", (Boolean) variableInstance.getValue());
}
}
}