public void testPresent9() {
        try {
            TreeNode result = contains(mkChain(new String[]{ "root", "branch1", "branch2", "branch3", "branch4", "branch5", "branch6", new String("node") }), new TreeNode(new String("node")));
            assertTrue(null, "Failed to locate the last node of a chain!", 
                result != null
                && result.getData() != null
                && result.getData().equals("node") 
                && result.getBranch() != null
                && result.getBranch().length == 0);
        } catch(NotFound exn) {
            fail(exn, "You can not locate the last node of a chain!");
        } catch(TreeException exn) {
            fail(exn, "An unexpected `TreeException` was thrown!");
        } catch(Throwable exn) {
            fail(exn, "Unexpected exception thrown: " + exn.getClass().getName());
        } // end of try-catch
    } // end of method testPresent9