use of com.sequenceiq.sdx.api.model.SdxGenerateImageCatalogResponse in project cloudbreak by hortonworks.
the class SdxControllerTest method generateImageCatalogTest.
@Test
void generateImageCatalogTest() {
CloudbreakImageCatalogV3 imageCatalog = mock(CloudbreakImageCatalogV3.class);
when(sdxImageCatalogService.generateImageCatalog(SDX_CLUSTER_NAME)).thenReturn(imageCatalog);
SdxGenerateImageCatalogResponse actual = sdxController.generateImageCatalog(SDX_CLUSTER_NAME);
assertEquals(imageCatalog, actual.getImageCatalog());
}
Aggregations