use of com.google.cloud.vision.v1.GetReferenceImageRequest in project java-vision by googleapis.
the class ITSystemTest method getReferenceImageTest.
@Test
public void getReferenceImageTest() {
GetReferenceImageRequest request = GetReferenceImageRequest.newBuilder().setName(formatReferenceImageName).build();
ReferenceImage actualReferenceImage = productSearchClient.getReferenceImage(request);
assertEquals(referenceImage.getName(), actualReferenceImage.getName());
assertEquals(referenceImage.getUri(), actualReferenceImage.getUri());
}
Aggregations