Class DefaultBatchCollectorTest
- java.lang.Object
-
- de.hybris.platform.directpersistence.impl.DefaultBatchCollectorTest
-
@UnitTest public class DefaultBatchCollectorTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultBatchCollectorTest()
-
Method Summary
-
-
-
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()
-
-