Class DefaultBatchCollectorTest

java.lang.Object
de.hybris.platform.directpersistence.impl.DefaultBatchCollectorTest

@UnitTest public class DefaultBatchCollectorTest extends Object
  • Constructor Details

    • DefaultBatchCollectorTest

      public DefaultBatchCollectorTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldThrowIllegalArgumentExceptionWhenSqlIsNullWhenCallingCollectQueryWithParams

      public void shouldThrowIllegalArgumentExceptionWhenSqlIsNullWhenCallingCollectQueryWithParams()
    • shouldThrowIllegalArgumentExceptionWhenParamsIsNullWhenCallingCollectQueryWithParams

      public void shouldThrowIllegalArgumentExceptionWhenParamsIsNullWhenCallingCollectQueryWithParams()
    • shouldCollectTwoParamsForOneBatchQuery

      public void shouldCollectTwoParamsForOneBatchQuery()
    • shouldCollectTwoStatementSettersForOneBatchQuery

      public void shouldCollectTwoStatementSettersForOneBatchQuery()
    • shouldThrowIllegalArgumentExceptionWhenSqlIsNullWhenCallingCollectQueryWithStatementSetter

      public void shouldThrowIllegalArgumentExceptionWhenSqlIsNullWhenCallingCollectQueryWithStatementSetter()
    • shouldThrowIllegalArgumentExceptionWhenMixingSettersAndParamsWithSameSqlQuery

      public void shouldThrowIllegalArgumentExceptionWhenMixingSettersAndParamsWithSameSqlQuery()
    • shouldThrowIllegalArgumentExceptionWhenStatementSetterIsNullWhenCallingCollectQueryWithStatementSetter

      public void shouldThrowIllegalArgumentExceptionWhenStatementSetterIsNullWhenCallingCollectQueryWithStatementSetter()
    • shouldExecuteBatchUpdateForStatementSetterBasedBatch

      public void shouldExecuteBatchUpdateForStatementSetterBasedBatch()
    • shouldExecuteBatchUpdateForParamsBasedBatch

      public void shouldExecuteBatchUpdateForParamsBasedBatch()
    • testBatchUpdateWithSuccessNoInfoCode

      public void testBatchUpdateWithSuccessNoInfoCode()