public static void mockPathed(UrlBuilder mock) throws AAIFormatVertexException {
Answer<String> answer = new Answer<String>() {
public String answer(InvocationOnMock invocation) throws Throwable {
- Vertex v = invocation.getArgument(0);
+ Vertex v = invocation.getArgumentAt(0, Vertex.class);
return v.<String>property(AAIProperties.AAI_URI).orElse("urimissing");
}