final void assertHasExactlyOneNamedNonEmptyElement(final Xpp3Dom testCase, final String name) {
        final Xpp3Dom[] children = testCase.getChildren(name);
        assertEquals("Expected exactly one " + name, 1, children.length);
        assertFalse("Expected " + name + " not to be empty.", children[0].getValue().isEmpty());
    }