/** * @test */ public function testyade() { require_once "Hoge.php"; $hoge = new Hoge(); $this->assertEquals("test", $hoge->testEcho()); $this->assertEquals("test2", $hoge->test2Echo()); $this->assertEquals("test4", $hoge->test3Echo()); }
<?php require_once "Hoge.php"; $hoge = new Hoge(); $hoge->testEcho();