public function testget_summary_text() { error_reporting(E_ERROR | E_PARSE); $prospectList = new ProspectList(); //test without setting name $this->assertEquals(Null, $prospectList->get_summary_text()); //test with name set $prospectList->name = "test"; $this->assertEquals('test', $prospectList->get_summary_text()); }