Class AbstractCommerceOrgIntegrationTest

    • Constructor Detail

      • AbstractCommerceOrgIntegrationTest

        public AbstractCommerceOrgIntegrationTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setCurrentUser

        protected void setCurrentUser​(java.lang.String userId)
      • assertSearchPageData

        protected void assertSearchPageData​(int expectedNumberOfResults,
                                            SearchPageData<?> searchPageData)
        Asserts that
        • the given SearchPageData is not null,
        • that the list of results it holds is not null and
        • that the list of results has the expected size.
        Parameters:
        expectedNumberOfResults - the expected number of search results
        searchPageData - the SearchPageData object to execute assertions on
      • getUserService

        protected UserService getUserService()
      • getTestDataPath

        protected abstract java.lang.String getTestDataPath()