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