/** * @covers Intacct\Functions\Common\Delete::setObjectName * @expectedException InvalidArgumentException * @expectedExceptionMessage Using delete on object "TIMESHEETENTRY" is not allowed */ public function testNotAllowedObject() { $delete = new Delete('unittest'); $delete->setObjectName('TIMESHEETENTRY'); }