Did you add the `rename()` method to `Virtphp\Test\Mock\FilesystemMock`? This might work as is, but normally, I add the method to the actual mock class, even if it only returns `true` or something like that. That way you don't need to mock the return value that you do few lines below this.