def METHOD_NAME(self, mock_path):
    mock_path.abspath.return_value = "/some/path"
    mock_path.isfile.return_value = True
    self.assertEqual("/bin/rm -f /some/path", self.GFAL2Impl.createRemoveFileCommand("name"))
    mock_path.abspath.assert_called_with("name")