Class DefaultVendorDaoTest

    • Constructor Detail

      • DefaultVendorDaoTest

        public DefaultVendorDaoTest()
    • Method Detail

      • prepare

        public void prepare()
      • testFindVendorByCode

        public void testFindVendorByCode()
      • testFindActiveVendor

        public void testFindActiveVendor()
      • testFindVendorByProductCode

        public void testFindVendorByProductCode()
      • testFindActiveCatalogs

        public void testFindActiveCatalogs()
      • testFindActiveCatalogVersions

        public void testFindActiveCatalogVersions()
      • testFindVendorByConsignmentCode

        public void testFindVendorByConsignmentCode()
      • testFindPendingConsignmentEntryByVendor

        public void testFindPendingConsignmentEntryByVendor()
      • testFindPagedActiveVendors

        public void testFindPagedActiveVendors()
      • createConsignmentForVendor

        protected ConsignmentModel createConsignmentForVendor​(VendorModel vendor)
        extract a common method to create consignment
        Parameters:
        vendor - the target vendor
      • createConsignmentEntryForVendor

        protected void createConsignmentEntryForVendor​(ConsignmentModel consignment)
        extract a common method to create consignment
        Parameters:
        vendor - the target vendor
      • createPageableData

        protected PageableData createPageableData​(int pageNumber,
                                                  int pageSize,
                                                  java.lang.String sortCode)