public function testgetUser() { $aopCaseUpdates = new AOP_Case_Updates(); //execute the method and verify that it returns an instance of User $result = $aopCaseUpdates->getUser(); $this->assertInstanceOf('User', $result); }