public void CommittingNewFileShouldAddItToTheRepository() { Using.SvnRepo(url => { var provider = new SvnProvider(log, TimeSpan.FromSeconds(30)); provider.Import(".", url + "/test", ""); provider.CreateWorkingDirectory(url + "/test", "workingDir"); File.WriteAllText(@"workingDir\test.txt", ""); provider.AddFile("test.txt", "workingDir"); provider.Commit("workingDir", ""); Assert.That(provider.Exists(url + "/test/test.txt"), log.Contents); }); }