Class JpaSpecificationExecutorTest

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

public class JpaSpecificationExecutorTest extends Object
  • Constructor Details

    • JpaSpecificationExecutorTest

      public JpaSpecificationExecutorTest()
  • Method Details

    • init

      @BeforeEach public void init()
    • predicateSpecificationEvaluatorIsNotNull

      @Test public void predicateSpecificationEvaluatorIsNotNull()
    • count

      @Test public void count()
    • delete

      @Test public void delete()
    • exists

      @Test public void exists()
    • findAll

      @Test public void findAll()
    • findBy

      @Test public void findBy()
    • findOne

      @Test public void findOne()
    • findOneReturnsEmptyOptionalIfNothingFound

      @Test public void findOneReturnsEmptyOptionalIfNothingFound()
    • findOneThrowsIncorrectResultSizeDataAccessExceptionIfMoreThanOneFound

      @Test public void findOneThrowsIncorrectResultSizeDataAccessExceptionIfMoreThanOneFound()
    • countWithSpecificationThrowsUnsupportedOperationException

      @Test public void countWithSpecificationThrowsUnsupportedOperationException()
    • deleteWithDeleteSpecificationThrowsUnsupportedOperationException

      @Test public void deleteWithDeleteSpecificationThrowsUnsupportedOperationException()
    • existsWithSpecificationThrowsUnsupportedOperationException

      @Test public void existsWithSpecificationThrowsUnsupportedOperationException()
    • finaAllWithSpecificationThrowsUnsupportedOperationException

      @Test public void finaAllWithSpecificationThrowsUnsupportedOperationException()
    • finaAllWithSpecificationAndPageableThrowsUnsupportedOperationException

      @Test public void finaAllWithSpecificationAndPageableThrowsUnsupportedOperationException()
    • finaAllWithSpecificationAndSortThrowsUnsupportedOperationException

      @Test public void finaAllWithSpecificationAndSortThrowsUnsupportedOperationException()
    • finaAllWithTwoSpecificationsAndPageableThrowsUnsupportedOperationException

      @Test public void finaAllWithTwoSpecificationsAndPageableThrowsUnsupportedOperationException()
    • finaAllWithSpecificationAndSpecificationFluentQueryThrowsUnsupportedOperationException

      @Test public void finaAllWithSpecificationAndSpecificationFluentQueryThrowsUnsupportedOperationException()
    • finaOneWithSpecificationThrowsUnsupportedOperationException

      @Test public void finaOneWithSpecificationThrowsUnsupportedOperationException()
    • updateWithUpdateSpecificationThrowsUnsupportedOperationException

      @Test public void updateWithUpdateSpecificationThrowsUnsupportedOperationException()