function test_uri_to_qname_returns_null_if_uri_not_representable_as_qname() { $g = new SimpleGraph(); $g->set_namespace_mapping('ex', 'http://example.org/'); $this->assertEquals(null, $g->uri_to_qname('http://example.org/foo/')); }