public function testSetDoubleId() { try { $this->article->setId(10.66); } catch (InvalidArgumentException $e) { return; } }