/** * @test */ public function findOneByKeyForInexistentThrowsException() { $this->setExpectedException('tx_oelib_Exception_NotFound'); $this->subject->findOneByKey('title', 'Darjeeling'); }