/** * Verify Exception throw for int detach * @expectedException Exception */ public function testDetachThrowsOnInt() { $this->obj->detach(117); }