Class PredicateSpecificationEvaluatorTest

java.lang.Object
com.reallifedeveloper.tools.test.database.inmemory.PredicateSpecificationEvaluatorTest

public class PredicateSpecificationEvaluatorTest extends Object
  • Constructor Details

    • PredicateSpecificationEvaluatorTest

      public PredicateSpecificationEvaluatorTest()
  • Method Details

    • init

      @BeforeEach public void init()
    • leftJoin

      @Test public void leftJoin()
    • trueAndFalseAndNotMatchAsExpected

      @Test public void trueAndFalseAndNotMatchAsExpected()
    • comparisonsMatchAsExpected

      @Test public void comparisonsMatchAsExpected()
    • inMatchesAsExpected

      @Test public void inMatchesAsExpected()
    • nullDoesNotMatchIn

      @Test public void nullDoesNotMatchIn()
    • inDoesNotFailIfGivenASingleValue

      @Test public void inDoesNotFailIfGivenASingleValue()
    • mapJoinCanBeJoined

      @Test public void mapJoinCanBeJoined()
    • comparisonsUsingComparableMatchAsExpected

      @Test public void comparisonsUsingComparableMatchAsExpected()
    • orMatchesAsExpected

      @Test public void orMatchesAsExpected()
    • nullChecksMatchAsExpected

      @Test public void nullChecksMatchAsExpected()
    • equalityChecksMatchAsExpected

      @Test public void equalityChecksMatchAsExpected()
    • unrestrictedMatchesEverything

      @Test public void unrestrictedMatchesEverything()
    • isEmptyMatchesAsExpected

      @Test public void isEmptyMatchesAsExpected()
    • isEmptyFailsIfNotGivenACollection

      @Test public void isEmptyFailsIfNotGivenACollection()
    • isEmptyConsidersNullAsUnknownWhichDoesNotMatch

      @Test public void isEmptyConsidersNullAsUnknownWhichDoesNotMatch()
    • isNotEmptyMatchesAsExpected

      @Test public void isNotEmptyMatchesAsExpected()
    • isNotEmptyFailsIfNotGivenACollection

      @Test public void isNotEmptyFailsIfNotGivenACollection()
    • isNotEmptyConsidersNullAsUnknownWhichDoesNotMatch

      @Test public void isNotEmptyConsidersNullAsUnknownWhichDoesNotMatch()
    • functionFailsIfGivenTheWrongNumberOfArguments

      @Test public void functionFailsIfGivenTheWrongNumberOfArguments()
    • functionFailsIfGivenArgumentOfWrongType

      @Test public void functionFailsIfGivenArgumentOfWrongType()
    • functionFailsIfCalledWithWrongResultType

      @Test public void functionFailsIfCalledWithWrongResultType()
    • functionFailsIfReturningWrongResultType

      @Test public void functionFailsIfReturningWrongResultType()
    • functionsCanHandlePrimitiveReturnTypes

      @Test public void functionsCanHandlePrimitiveReturnTypes()
    • propertyAccessUsingFieldsAndNestedGets

      @Test public void propertyAccessUsingFieldsAndNestedGets()
    • negatedPredicateMatchesAsExpected

      @Test public void negatedPredicateMatchesAsExpected()
    • notConsidersNullAsUnknownWhichDoesNotMatch

      @Test public void notConsidersNullAsUnknownWhichDoesNotMatch()
    • usingUnimplementedMethodThrowsUnsupportedOperationException

      @Test public void usingUnimplementedMethodThrowsUnsupportedOperationException() throws NoSuchMethodException
      Throws:
      NoSuchMethodException
    • accessingUnknownPropertyThrowsIllegalArgumentException

      @Test public void accessingUnknownPropertyThrowsIllegalArgumentException()
    • pathImplementsObjectMethods

      @Test public void pathImplementsObjectMethods()