コード例 #1
0
 /**
  * @dataProvider goodQuotationConfigs
  * @param Array $config
  * @param Array $result
  */
 public function testGetSecondaryRole($config, $result)
 {
     $quotation = new Quotation($config);
     $this->assertInternalType('string', $quotation->getSecondaryRole());
     $this->assertSame($result['getSecondaryRole'], $quotation->getSecondaryRole());
 }