}
}
private Optional<TestSuite> testSuiteFrom(Node testSuiteNode) {
Element testSuiteElement = (Element) testSuiteNode;
TestSuite testSuite = TestSuite.named(testSuiteElement.getAttribute("name"));
List<TestCase> testCases = testCasesFrom(testSuiteElement);
return Optional.of(testSuite.withTestCases(testCases));
}