public function testResource() { $resource = new Resource(); $resource->setPartition('partition-1'); }