@@ -71,15 +71,15 @@ void testGetAppProducts_Exception() throws FDKServerResponseError, FDKException
71
71
@ Test
72
72
void testGetProducts_Success () throws Exception {
73
73
CatalogPlatformModels .ProductListingResponseV2 mockResponse = new CatalogPlatformModels .ProductListingResponseV2 ();
74
- when (catalogPlatformService .getProducts (anyList (), anyList (), anyList (), anyList (), anyList (), anyString (), anyList (), anyInt (), anyInt ()))
74
+ when (catalogPlatformService .getProducts (anyList (), anyList (), anyList (), anyList (), anyList (), anyString (), anyString (), anyList (), anyString (), anyList (), anyInt (), anyInt (), anyString (), anyString (), anyString ()))
75
75
.thenReturn (mockResponse );
76
76
CatalogPlatformModels .ProductListingResponseV2 response = platformController .getProducts (request );
77
77
assertEquals (mockResponse , response );
78
78
}
79
79
80
80
@ Test
81
81
void testGetProducts_Exception () throws FDKServerResponseError , FDKException {
82
- when (catalogPlatformService .getProducts (anyList (), anyList (), anyList (), anyList (), anyList (), anyString (), anyList (), anyInt (), anyInt ()))
82
+ when (catalogPlatformService .getProducts (anyList (), anyList (), anyList (), anyList (), anyList (), anyString (), anyString (), anyList (), anyString (), anyList (), anyInt (), anyInt (), anyString (), anyString (), anyString ()))
83
83
.thenThrow (new RuntimeException ("Error" ));
84
84
RuntimeException exception = assertThrows (RuntimeException .class , () -> {
85
85
platformController .getProducts (request );
0 commit comments