よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public function testget_summary_text() { error_reporting(E_ERROR | E_PARSE); $bug = new Bug(); //test without setting name $this->assertEquals(null, $bug->get_summary_text()); //test with name set//test with name set $bug->name = 'test'; $this->assertEquals('test', $bug->get_summary_text()); }