public void HgGetChangeSetReturnsNullIfIdDoesNotExist() { // Arrange using (TestRepository testRepository = GetRepository()) { var hgRepo = new HgRepository(testRepository.PhysicalPath, "", new MockDeploymentSettingsManager(), NullTracerFactory.Instance); hgRepo.Initialize(); // Act var changeset = hgRepo.GetChangeSet("does-not-exist"); // Assert Assert.Null(changeset); } }