public function testget_summary_text() { $meeting = new Meeting(); //test without setting name $this->assertEquals(null, $meeting->get_summary_text()); //test with name set $meeting->name = 'test'; $this->assertEquals('test', $meeting->get_summary_text()); }