Class CategoryTestUtils


  • public class CategoryTestUtils
    extends java.lang.Object
    Utility class containing helper methods for testing Categories.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<PK> convertNewCollectionToPk​(java.util.Collection<CategoryModel> collection)
      Converts Collection of CategoryModel into sorted List of PK.
      static java.util.List<PK> convertOldCollectionToPk​(java.util.Collection<Category> collection)
      Converts Collection of Category items into sorted List of PK.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CategoryTestUtils

        public CategoryTestUtils()
    • Method Detail

      • convertNewCollectionToPk

        public static java.util.List<PK> convertNewCollectionToPk​(java.util.Collection<CategoryModel> collection)
        Converts Collection of CategoryModel into sorted List of PK.
      • convertOldCollectionToPk

        public static java.util.List<PK> convertOldCollectionToPk​(java.util.Collection<Category> collection)
        Converts Collection of Category items into sorted List of PK.