remoteBranches.assertRemoteBranches(SampleTestRepository.FIX,
Constants.MASTER);
remoteBranches.selectBranches(SampleTestRepository.FIX,
Constants.MASTER);
WorkingCopyPage workingCopy = remoteBranches.nextToWorkingCopy();
workingCopy.setDirectory(destinationRepo.toString());
workingCopy.assertDirectory(destinationRepo.toString());
workingCopy.assertBranch(Constants.MASTER);
workingCopy.assertRemoteName(Constants.DEFAULT_REMOTE_NAME);
workingCopy.waitForCreate();
// Some random sampling to see we got something. We do not test
// the integrity of the repository here. Only a few basic properties
// we'd expect from a clone made this way, that would possibly
// not hold true given other parameters in the GUI.