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