public function testgetUpdateContact() { $aopCaseUpdates = new AOP_Case_Updates(); //execute the method without contact_id and verify that it returns null $result = $aopCaseUpdates->getUpdateContact(); $this->assertEquals(null, $result); //execute the method without contact_id and verify that it returns false $aopCaseUpdates->contact_id = 1; $result = $aopCaseUpdates->getUpdateContact(); $this->assertEquals(false, $result); }