forked from D-Net/dnet-hadoop
wip: large refactoring
This commit is contained in:
parent
508648e1d8
commit
63c5c5848d
|
@ -72,7 +72,7 @@ class GenerateEntitiesApplicationTest {
|
||||||
|
|
||||||
protected <T extends Result> void verifyMerge(Result publication, Result dataset, Class<T> clazz,
|
protected <T extends Result> void verifyMerge(Result publication, Result dataset, Class<T> clazz,
|
||||||
String resultType) {
|
String resultType) {
|
||||||
final Result merge = MergeUtils.mergeResult(publication, dataset);
|
final Result merge = MergeUtils.merge(publication, dataset);
|
||||||
assertTrue(clazz.isAssignableFrom(merge.getClass()));
|
assertTrue(clazz.isAssignableFrom(merge.getClass()));
|
||||||
assertEquals(resultType, merge.getResulttype());
|
assertEquals(resultType, merge.getResulttype());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue