public void test_Triple_clone()
        {
            XMLTriple t = new XMLTriple("sarah", "http://foo.org/", "bar");

            assertTrue(t.getName() == "sarah");
            assertTrue(t.getURI() == "http://foo.org/");
            assertTrue(t.getPrefix() == "bar");
            XMLTriple t2 = (XMLTriple)t.clone();

            assertTrue(t2.getName() == "sarah");
            assertTrue(t2.getURI() == "http://foo.org/");
            assertTrue(t2.getPrefix() == "bar");
            t  = null;
            t2 = null;
        }
        public void test_Triple_copyConstructor()
        {
            XMLTriple t = new XMLTriple("sarah", "http://foo.org/", "bar");

            assertTrue(t.getName() == "sarah");
            assertTrue(t.getURI() == "http://foo.org/");
            assertTrue(t.getPrefix() == "bar");
            XMLTriple t2 = new XMLTriple(t);

            assertTrue(t2.getName() == "sarah");
            assertTrue(t2.getURI() == "http://foo.org/");
            assertTrue(t2.getPrefix() == "bar");
            t  = null;
            t2 = null;
        }
        public void test_Triple_assignmentOperator()
        {
            XMLTriple t = new XMLTriple("sarah", "http://foo.org/", "bar");

            assertTrue(t.getName() == "sarah");
            assertTrue(t.getURI() == "http://foo.org/");
            assertTrue(t.getPrefix() == "bar");
            XMLTriple t2 = new XMLTriple();

            t2 = t;
            assertTrue(t2.getName() == "sarah");
            assertTrue(t2.getURI() == "http://foo.org/");
            assertTrue(t2.getPrefix() == "bar");
            t  = null;
            t2 = null;
        }
        public void test_XMLTriple_create()
        {
            XMLTriple t = new  XMLTriple();

            assertTrue(t != null);
            assertTrue(t.isEmpty() != false);
            t = null;
            t = new  XMLTriple("attr", "uri", "prefix");
            assertTrue(("attr" != t.getName()) == false);
            assertTrue(("uri" != t.getURI()) == false);
            assertTrue(("prefix" != t.getPrefix()) == false);
            assertTrue(("prefix:attr" != t.getPrefixedName()) == false);
            assertTrue(t.isEmpty() == false);
            t = null;
            t = new  XMLTriple("attr", "uri", "");
            assertTrue(("attr" != t.getName()) == false);
            assertTrue(("uri" != t.getURI()) == false);
            assertTrue(t.getPrefix() == "");
            assertTrue(("attr" != t.getPrefixedName()) == false);
            assertTrue(t.isEmpty() == false);
            t = null;
        }