/** * Test an invalid service exception * * @dataProvider getServiceRatings */ public function testServiceRating($rating) { $feefo = new aw\feefo\Feefo('www.feefouserdomain.com', 'feefopassword'); $feefo->setServiceRating($rating); $this->assertEquals($rating, $feefo->getServiceRating()->getRating()); }