/** * Predict category by title. * * @throws ApiException if the Api call fails */ @Test public void sitesSiteIdCategoryPredictorPredictGetTest() throws ApiException { String siteId = "MLA"; String title = "Ipod Touch 6 32GB"; CategoryPrediction response = api.sitesSiteIdCategoryPredictorPredictGet(siteId, title); assertNotNull(response); assertNotNull(response.getId()); assertNotNull(response.getName()); assertNotNull(response.getPredictionProbability()); }