public function testFetchInventoryListToken2()
 {
     resetLog();
     $this->object->setMock(true, array('fetchInventoryListToken.xml', 'fetchInventoryListToken2.xml'));
     //with using token
     $this->object->setUseToken();
     $this->assertNull($this->object->fetchInventoryList());
     $check = parseLog();
     $this->assertEquals('Mock files array set.', $check[1]);
     $this->assertEquals('Fetched Mock File: mock/fetchInventoryListToken.xml', $check[2]);
     $this->assertEquals('Recursively fetching more Inventory Supplies', $check[3]);
     $this->assertEquals('Fetched Mock File: mock/fetchInventoryListToken2.xml', $check[4]);
     $this->assertFalse($this->object->hasToken());
     $o = $this->object->getOptions();
     $this->assertEquals('ListInventorySupplyByNextToken', $o['Action']);
     $this->assertArrayNotHasKey('QueryStartDateTime', $o);
     $this->assertArrayNotHasKey('ResponseGroup', $o);
     $r = $this->object->getSupply(null);
     $this->assertArrayHasKey(0, $r);
     $this->assertArrayHasKey(1, $r);
     $this->assertEquals('SampleSKU1', $r[0]['SellerSKU']);
     $this->assertEquals('SampleSKU2', $r[1]['SellerSKU']);
     $this->assertEquals(2, count($r));
     $this->assertNotEquals($r[0], $r[1]);
 }