Description: correcting the first argument of dm.resolveDependencies
 This argument needs to be a List<String>, not a List<Object>.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: https://github.com/nextflow-io/capsule-maven/pull/2
Last-Update: 2021-04-29

--- a/src/test/java/MavenCapsuleTest.java
+++ b/src/test/java/MavenCapsuleTest.java
@@ -175,7 +175,7 @@
         deps.put(dep, as);
 
         when(dm.resolveDependency(dep, type)).thenReturn(as);
-        when(dm.resolveDependencies(anyList(), eq(type))).thenAnswer(new Answer<List<Path>>() {
+        when(dm.resolveDependencies(anyListOf(String.class), eq(type))).thenAnswer(new Answer<List<Path>>() {
             @Override
             public List<Path> answer(InvocationOnMock invocation) throws Throwable {
                 List<String> coords = (List<String>) invocation.getArguments()[0];
