use of net.nemerosa.ontrack.extension.svn.db.SVNIssueRevisionDao in project ontrack by nemerosa.
the class SVNRevisionChangeLogIssueValidatorTest method fromStorage.
@Test
public void fromStorage() {
PropertyService propertyService = mock(PropertyService.class);
SVNIssueRevisionDao issueRevisionDao = mock(SVNIssueRevisionDao.class);
SVNRevisionChangeLogIssueValidator validator = new SVNRevisionChangeLogIssueValidator(new SVNExtensionFeature(new SCMExtensionFeature()), propertyService, issueRevisionDao);
assertEquals(new SVNRevisionChangeLogIssueValidatorConfig(Arrays.asList("Closed", "Resolved")), validator.fromStorage(JsonUtils.object().with("closedStatuses", JsonUtils.stringArray("Closed", "Resolved")).end()));
}
Aggregations