assertEquals(remoteName, remote.getName());
assertEquals(remoteURL, remote.getFetchURL());
assertEquals(remoteURL, remote.getPushURL());
assertEquals("+refs/heads/*:refs/remotes/" + remoteName + "/*", remote.getFetch());
final RemoteRemoveOp remoteRemove = geogig.command(RemoteRemoveOp.class);
Remote deletedRemote = remoteRemove.setName(remoteName).call();
assertEquals(remoteName, deletedRemote.getName());
assertEquals(remoteURL, deletedRemote.getFetchURL());
assertEquals(remoteURL, deletedRemote.getPushURL());
assertEquals("+refs/heads/*:refs/remotes/" + remoteName + "/*", deletedRemote.getFetch());