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