private void addResultsTo(Document responseDocument, List<TestRunResult> results) {
if (isMultipleTestRunResultsResult(responseDocument)) {
DistributedTestRunResult multiple = new DistributedTestRunResultBuilder().build(responseDocument);
results.addAll(multiple._getTestRunResults());
} else {
TestRunResult single = new TestRunResultBuilder().build(responseDocument);
results.add(single);
}
}