/** * RTFN * @expectedException \Kachit\Collection\Exception * @expectedExceptionMessage This indexes "foo, bar" is not exists in collection */ public function testExtractWithBadFilter() { $filter = ['foo', 1, 'bar']; $this->testable->extract($filter); }