/** * @group DDC-1984 */ public function testLockWithoutEntityThrowsException() { $this->setExpectedException('InvalidArgumentException'); $this->_unitOfWork->lock(null, null, null); }