/**
  * @test
  */
 public function testGetIniPrefix()
 {
     $ret = $this->object->getIniPrefix();
     $this->assertContains('acct1', $ret);
     $this->assertEquals(sizeof($ret), 2);
     $ret = $this->object->getIniPrefix('jb-us-seller_api1.paypal.com');
     $this->assertEquals('acct1', $ret);
 }
Exemplo n.º 2
0
 /**
  * @test
  */
 public function testGetIniPrefix()
 {
     $ret = $this->object->getIniPrefix();
     $this->assertContains('acct1', $ret);
     $this->assertEquals(sizeof($ret), 2);
     $ret = $this->object->getIniPrefix('platfo_1255077030_biz_api1.gmail.com');
     $this->assertEquals('acct1', $ret);
 }