public function testMoveMethodShouldRenameDirectory() { // prepare $from = $this->_temp . '/source/directory'; $to = $this->_temp . '/target/directory'; // act Fso::move($from, $to); // assert $this->assertFileNotExists($from); $this->assertFileExists($to); $this->assertTrue(is_dir($to)); $this->assertFileExists($this->_temp . '/target/directory/file.txt'); }