/** * @dataProvider goodQuotationConfigs * @param Array $config * @param Array $result */ public function testGetVote($config, $result) { $quotation = new Quotation($config); $this->assertInternalType('float', $quotation->getVote()); $this->assertSame($result['getVote'], $quotation->getVote()); }