Class DefaultBatchCollectorTest


  • @UnitTest
    public class DefaultBatchCollectorTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultBatchCollectorTest

        public DefaultBatchCollectorTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.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()