/** * @test * @depends URI\ParseTest::Advanced_Parsing */ public function Simple_Output() { $input = 'https://*****:*****@example.com:777/path/to/script.php?query=str#fragment'; $uri1 = new \uri($input); // Check For Errors $this->assertEmpty($uri1->error); // Check Output $this->assertEquals($input, $uri1->input); $this->assertEquals($input, $uri1->str()); $this->expectOutputString($input); $uri1->p_str(); }