forked from D-Net/dnet-hadoop
refactoring
This commit is contained in:
parent
95e5482bbb
commit
785db1d5b2
|
@ -33,10 +33,15 @@ public class TestReadCSV {
|
|||
|
||||
Assertions.assertEquals(36, beans.size());
|
||||
Assertions.assertEquals(1, beans.stream().filter(e -> e.getIssn().equals("0001-625X")).count());
|
||||
Assertions.assertTrue(beans.stream().anyMatch(e -> e.getIssn().equals("0001-625X") && e.getTitle().equals("Acta Mycologica")));
|
||||
Assertions
|
||||
.assertTrue(
|
||||
beans
|
||||
.stream()
|
||||
.anyMatch(e -> e.getIssn().equals("0001-625X") && e.getTitle().equals("Acta Mycologica")));
|
||||
Assertions.assertTrue(beans.stream().allMatch(e -> e.getIssn().equals(e.getIssn_l())));
|
||||
|
||||
}
|
||||
|
||||
@Disabled
|
||||
@Test
|
||||
public void testCSVUrlUnibi() throws IOException {
|
||||
|
|
Loading…
Reference in New Issue