function test_toString() { $html = '<html><head>' . '</head><body>' . '</body></html>'; $page = new Page($html); $o = $page->__toString(); $this->assertTrue(is_string($o)); }