{
XmlObject x = XmlObject.Factory.parse( "<a><x/><y/><z/></a>" );
XmlCursor c = x.newCursor();
Assert.assertTrue( c.toNextSibling() == false );
Assert.assertTrue( c.toPrevSibling() == false );
Assert.assertTrue( c.toFirstAttribute() == false );
Assert.assertTrue( c.toLastAttribute() == false );
c.toNextToken();
c.toNextToken();
Assert.assertTrue( c.toNextSibling() == true );
Assert.assertTrue( c.getName().getLocalPart().equals( "y" ) );