/**
* @depends testListNodesWithId
* @depends testListSizes
*/
public function testResizeNode($node, $sizes)
{
$this->addMockSubscriber($this->getTestFilePath('Server'));
$this->addMockSubscriber($this->getTestFilePath('Server_Meta'));
$this->addMockSubscriber($this->getTestFilePath('Flavor_ForResize'));
$this->addMockSubscriber($this->getTestFilePath('Server_Resize'));
$r = $this->provider->resizeNode($node, $sizes[1]);
$this->assertSame(202, $r->getStatusCode(), 'resizeNode returns the API response for the successful initiation of a resize operation');
}