diff --git a/src/test/java/uk/ac/ebi/eva/evaseqcol/utils/SeqColMapConverterTest.java b/src/test/java/uk/ac/ebi/eva/evaseqcol/utils/SeqColMapConverterTest.java index 75250ea..38680a0 100644 --- a/src/test/java/uk/ac/ebi/eva/evaseqcol/utils/SeqColMapConverterTest.java +++ b/src/test/java/uk/ac/ebi/eva/evaseqcol/utils/SeqColMapConverterTest.java @@ -23,7 +23,13 @@ class SeqColMapConverterTest { void setSeqColLevelOneMapConverterTest() { SeqColLevelOneEntity levelOneEntity = seqColGenerator.generateLevelOneEntity(); Map levelOneMap = seqColMapConverter.getSeqColLevelOneMap(levelOneEntity); - assertTrue(levelOneMap.keySet().size() >= 0); // At least we should have the "sequences", "lengths" and "names" + assertFalse(levelOneMap.keySet().isEmpty()); // At least we should have the "sequences", "lengths" and "names" + assertTrue(levelOneMap.containsKey("sequences")); + assertTrue(levelOneMap.containsKey("lengths")); + assertTrue(levelOneMap.containsKey("names")); + assertNotNull(levelOneMap.get("sequences")); + assertNotNull(levelOneMap.get("lengths")); + assertNotNull(levelOneMap.get("names")); } @Test