public function testSetResources() { $client = $this->getMockClient(); $fixture = file_get_contents(__DIR__ . '/fixtures/ResourceList.response.xml'); $resourceList = $client::response($fixture); $this->assertInstanceOf(AbstractResponse::ns() . '\\ResourceList', $resourceList); $resources = $resourceList->getResources(); $resourceList->setResources($resources); $this->assertEquals($resources, $resourceList->getResources()); }