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