public function testGetIdByParameterWithUnknownColumn() { $this->setExpectedException('PDOException'); Service::getIdByParameter('idontexist', array('ping')); }