use of com.thoughtworks.go.domain.materials.svn.SvnMaterialInstance in project gocd by gocd.
the class MaterialRepositoryIntegrationTest method shouldPersistModificationsWithMaterials.
@Test
public void shouldPersistModificationsWithMaterials() throws Exception {
MaterialInstance original = new SvnMaterialInstance("url", "username", UUID.randomUUID().toString(), false);
repo.saveOrUpdate(original);
MaterialInstance loaded = repo.find(original.getId());
assertThat(loaded, is(original));
}
Aggregations