/** * Test RENAME * * @return void */ public function testRename() { $response = 'OK '; $expected = null; $this->object->expects($this->any())->method('socketRead')->will($this->returnValue($response)); $this->assertSame($expected, $this->object->rename('from', 'to')); }