Buggy code:
public class TaderIntegrationTest { @ Test public void testPartialDependency ( ) { } @ Test public void testImplicitDependency ( ) { } @ Test public void testExplicitDependency ( ) { } @ Test public void testDelete ( ) { } @ Test public void testAllColumnTypesAutogenerate ( ) { } private void testPartialDependency ( DatabaseVendor vendor ) { } private void testImplicitDependency ( DatabaseVendor vendor ) { } private void testExplicitDependency ( DatabaseVendor vendor ) { } private void testDelete ( DatabaseVendor vendor ) { } private void testAllColumnTypesAutogenerate ( DatabaseVendor vendor ) { ConnectionSource connectionSource = TestUtils . newConnectionSource ( vendor ) ; Tader tader = new TaderBuilder ( ) . withCoreServices ( ) . withCoreJdbcServices ( ) . withCoreTypeCoercerContributions ( ) . withCoreAutoGenerateSourceContributions ( ) . withServiceInstance ( NameTranslator . class , UpperCamelNameTranslator . class ) . withConnectionSource ( connectionSource ) . build ( ) ; TestUtils . createTableHasAllTypes ( vendor , connectionSource ) ; PartialEntity template = new PartialEntity ( "hasAllTypes" ) ; List < Entity > entities = tader . insert ( template , 3 ) ; Calendar cal = Calendar . getInstance ( ) ; <START_BUG> cal . set ( Calendar . HOUR , 0 ) ; <END_BUG> cal . set ( Calendar . MINUTE , 0 ) ; cal . set ( Calendar . SECOND , 0 ) ; cal . set ( Calendar . MILLISECOND , 0 ) ; List < Date > expectedDates = new ArrayList < Date > ( ) ; expectedDates . add ( cal . getTime ( ) ) ; cal . add ( Calendar . DATE , 1 ) ; expectedDates . add ( cal . getTime ( ) ) ; cal . add ( Calendar . DATE , 1 ) ; expectedDates . add ( cal . getTime ( ) ) ; assertColumn ( entities , "id" , Integer . class , 0 , 1 , 2 ) ; assertColumn ( entities , "intRequired" , Integer . class , 0 , 1 , 2 ) ; assertNullColumn ( entities , "intNullable" ) ; assertColumn ( entities , "varcharRequired" , String . class , "varcharRequired0" , "varcharRequired1" , "varcharRequired2" ) ; assertNullColumn ( entities , "varcharNullable" ) ; assertByteArrayColumn ( entities , "blobRequired" , "blobRequired0" . getBytes ( ) , "blobRequired1" . getBytes ( ) , "blobRequired2" . getBytes ( ) ) ; assertNullColumn ( entities , "blobNullable" ) ; assertColumn ( entities , "dateRequired" , Date . class , expectedDates . toArray ( ) ) ; assertNullColumn ( entities , "dateNullable" ) ; assertColumn ( entities , "timestampRequired" , Date . class , expectedDates . toArray ( ) ) ; assertNullColumn ( entities , "timestampNullable" ) ; assertColumn ( entities , "decimalRequired" , BigDecimal . class , new BigDecimal ( "0.00" ) , new BigDecimal ( "1.00" ) , new BigDecimal ( "2.00" ) ) ; assertNullColumn ( entities , "decimalNullable" ) ; } private Tader createTader ( ConnectionSource connectionSource ) { } private AutoGenerateSourceContribution createAutoGenerateSourceContribution ( ) { } private void assertNullColumn ( List < Entity > entities , String propertyName ) { } private void assertColumn ( List < Entity > entities , String propertyName , Class < ? > type , Object ... expected ) { } private void assertByteArrayColumn ( List < Entity > entities , String propertyName , byte [ ] ... expected ) { } }

Fix:
cal . set ( Calendar . HOUR_OF_DAY , 0 ) ;