Class DefaultAbstractQueryHelperTest

    • Constructor Detail

      • DefaultAbstractQueryHelperTest

        public DefaultAbstractQueryHelperTest()
    • Method Detail

      • shouldUpdateFlexibleSearchQuery

        public void shouldUpdateFlexibleSearchQuery()
      • shouldUpdateGenericSearchQuery

        public void shouldUpdateGenericSearchQuery()
      • shouldThrowIllegalArgumentExceptionNullStringQuery

        public void shouldThrowIllegalArgumentExceptionNullStringQuery()
      • shouldThrowIllegalArgumentExceptionNullFlexibleSearchQuery

        public void shouldThrowIllegalArgumentExceptionNullFlexibleSearchQuery()
      • shouldThrowIllegalArgumentExceptionNullGenericQuery

        public void shouldThrowIllegalArgumentExceptionNullGenericQuery()
      • shouldThrowIllegalArgumentExceptionNullGenericSearchQuery

        public void shouldThrowIllegalArgumentExceptionNullGenericSearchQuery()
      • setAllAttributes

        protected <T extends AbstractQuery> void setAllAttributes​(T original)
        Sets all attributes of given search query object, so that these values can be compared with the ones returned from abstractQueryHelper class
      • assertClonedResults

        protected <T extends AbstractQuery> void assertClonedResults​(T original,
                                                                     T updated)
        Assert the given two AbstractQuery sub-class parameters have the same attribute values.
        Parameters:
        original - the original
        updated - the updated