/**
  * @test
  */
 public function testGet()
 {
     $ret = $this->object->get('acct1');
     $this->assertContains('jb-us-seller_api1.paypal.com', $ret);
     $this->assertArrayHasKey('acct1.UserName', $ret);
     $this->assertTrue(sizeof($ret) == 5);
     $ret = $this->object->get('acct1.UserName');
     $this->assertEquals('jb-us-seller_api1.paypal.com', $ret);
     $ret = $this->object->get("acct");
     $this->assertEquals(sizeof($ret), 8);
 }
Example #2
0
 /**
  * @test
  */
 public function testGet()
 {
     $ret = $this->object->get('acct1');
     $this->assertContains('platfo_1255077030_biz_api1.gmail.com', $ret);
     $this->assertArrayHasKey('acct1.UserName', $ret);
     $this->assertTrue(sizeof($ret) == 4);
     $ret = $this->object->get('acct1.UserName');
     $this->assertEquals('platfo_1255077030_biz_api1.gmail.com', $ret);
     $ret = $this->object->get("acct");
     $this->assertEquals(sizeof($ret), 9);
 }