{
ResourceModel repliesResourceModel = buildResourceModel(RepliesCollectionResource.class);
ResourceMethodDescriptor methodDescriptor = repliesResourceModel.findNamedMethod("customLongArray");
RepliesCollectionResource repliesResource = getMockResource(RepliesCollectionResource.class);
CustomLong[] longs = {new CustomLong(100L), new CustomLong(200L)};
repliesResource.customLongArray(EasyMock.aryEq(longs));
EasyMock.expectLastCall().andReturn(null).once();
checkInvocation(repliesResource, methodDescriptor, "GET", version, uri);
}
@Test