/** * @expectedException \Exception */ public function testHasWithInvalidSeparator() { $this->assertTrue(Collection::has($this->mock, 'key', new \stdClass())); }