private static void CopyAndAssertTo(Repository copy) { var original = new EARepository1(); RepositoryCopier.CopyRepository(original, copy); EAAssert.RepositoriesAreEqual(original, copy); }
/// <summary> /// Copy the contents of the given repository to a new temporary file-based repository. /// </summary> /// <param name="repository"></param> public TemporaryFileBasedRepository(Repository repository) : this() { RepositoryCopier.CopyRepository(repository, repo); }