/** * @test */ public function contentElementMustHaveNoNonZeroUid() { $this->setExpectedException('InvalidArgumentException', 'The column "uid" must not be set in $recordData.'); $this->subject->createContentElement(0, array('uid' => 99999)); }