private static class VertexCounterRequestMatcher extends ArgumentMatcher<GetVertexStatusRequestProto>{
@Override
public boolean matches(Object argument) {
if (argument instanceof GetVertexStatusRequestProto){
GetVertexStatusRequestProto requestProto = (GetVertexStatusRequestProto)argument;
return requestProto.getStatusOptionsCount() != 0
&& requestProto.getStatusOptionsList().get(0) == StatusGetOptsProto.GET_COUNTERS;
}
return false;
}