public class CategoryValidationUtils extends Object
Constructor and Description |
---|
CategoryValidationUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
validateCreateCategoryResponse(RestResponse createCategoryRest,
CategoryDefinition expectedCategoryDefinition) |
static void |
validateCreateGroupResponse(RestResponse createSubCategoryRest,
GroupingDefinition expectedGroupDefinition) |
static void |
validateCreateSubCategoryResponse(RestResponse createSubCategoryRest,
SubCategoryDefinition expectedSubCategoryDefinition) |
static void |
verifyCategoryExistInGetResponse(RestResponse getAllCategoryRest,
CategoryDefinition categoryDefinition) |
static void |
verifyCategoryNotExistsInGetResponse(RestResponse getAllCategoryRest,
CategoryDefinition categoryDefinition) |
static void |
verifyGroupingExistInGetResponse(RestResponse getAllCategoryRest,
String parentCategoryId,
String subCategoryId,
GroupingDefinition expectedGroupingDefinition) |
static void |
verifyGroupingNotExistInGetResponse(RestResponse getAllCategoryRest,
String parentCategoryId,
String subCategoryId,
GroupingDefinition expectedGroupingDefinition) |
static void |
verifySubCategoryExistInGetResponse(RestResponse getAllCategoryRest,
String parentCategoryId,
SubCategoryDefinition expectedSubCategoryDefinition) |
static void |
verifySubCategoryNotExistsInGetResponse(RestResponse getAllCategoryRest,
String parentCategoryId,
SubCategoryDefinition expectedSubCategoryDefinition) |
public static void verifyCategoryExistInGetResponse(RestResponse getAllCategoryRest, CategoryDefinition categoryDefinition)
public static void verifyCategoryNotExistsInGetResponse(RestResponse getAllCategoryRest, CategoryDefinition categoryDefinition)
public static void verifySubCategoryExistInGetResponse(RestResponse getAllCategoryRest, String parentCategoryId, SubCategoryDefinition expectedSubCategoryDefinition)
public static void verifyGroupingExistInGetResponse(RestResponse getAllCategoryRest, String parentCategoryId, String subCategoryId, GroupingDefinition expectedGroupingDefinition)
public static void verifyGroupingNotExistInGetResponse(RestResponse getAllCategoryRest, String parentCategoryId, String subCategoryId, GroupingDefinition expectedGroupingDefinition)
public static void verifySubCategoryNotExistsInGetResponse(RestResponse getAllCategoryRest, String parentCategoryId, SubCategoryDefinition expectedSubCategoryDefinition)
public static void validateCreateGroupResponse(RestResponse createSubCategoryRest, GroupingDefinition expectedGroupDefinition) throws Exception
Exception
public static void validateCreateSubCategoryResponse(RestResponse createSubCategoryRest, SubCategoryDefinition expectedSubCategoryDefinition) throws Exception
Exception
public static void validateCreateCategoryResponse(RestResponse createCategoryRest, CategoryDefinition expectedCategoryDefinition) throws Exception
Exception
Copyright © 2017. All rights reserved.