public function testsOutput() { ob_start(); output("Hello"); $results = ob_get_clean(); $this->assertEquals(trim($results), "Hello"); }