public function testGetOptions() { $o = $this->object->getOptions(); $this->assertInternalType('array', $o); $this->assertArrayHasKey('SellerId', $o); $this->assertArrayHasKey('AWSAccessKeyId', $o); $this->assertArrayHasKey('SignatureVersion', $o); $this->assertArrayHasKey('SignatureMethod', $o); $this->assertArrayHasKey('Version', $o); }
/** * @depends testFetchServiceStatus */ public function testGetMessageList($o) { $x = array(); $x[0] = 'We are experiencing high latency in UK because of heavy traffic.'; $this->assertEquals($x, $o->getMessageList()); $this->assertFalse($this->object->getMessageList()); //not fetched yet for this object }