/** * */ public function has($element) { return $this->list->contains($element); }
/** * @test * @expectedException InvalidArgumentException */ public function elementKey_should_throw_with_all_objects() { InvocablesList::elementKey(new StdClass()); }