Home > Annotations > Annotations Test > Podam should handle immutable POJOs annotated with @PodamCon…
Report generated 29-07-2023 17:16

Annotations Test

 Annotations (epics)

Podam Should Handle Immutable Pojos Annotated With @Podamconstructor
  Steps Outcome Duration
Given a standard Podam Factory
SUCCESS 0s
When I invoke the factory manufacturing for class uk.co.jemos.podam.test.dto.ImmutableNoHierarchicalAnnotatedPojo
SUCCESS 0.01s
Then the object ImmutableNoHierarchicalPojo [intField=1524821579, dateCreated=java.util.GregorianCalendar[time=1690640181765,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Helsinki",offset=7200000,dstSavings=3600000,useDaylight=true,transitions=118,lastRule=java.util.SimpleTimeZone[id=Europe/Helsinki,offset=7200000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=858373712,minimalDaysInFirstWeek=1623535360,ERA=1,YEAR=2023,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=29,DAY_OF_YEAR=210,DAY_OF_WEEK=7,DAY_OF_WEEK_IN_MONTH=5,AM_PM=1,HOUR=5,HOUR_OF_DAY=17,MINUTE=16,SECOND=21,MILLISECOND=765,ZONE_OFFSET=7200000,DST_OFFSET=3600000], longArray=[1136866007143200, 1136866007197300, 1136866007245100, 1136866007299400, 1136866007349900]] should not be null
SUCCESS 0s
Then the int field should not be zero
SUCCESS 0s
Then the pojo java.util.GregorianCalendar[time=1690640181765,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Helsinki",offset=7200000,dstSavings=3600000,useDaylight=true,transitions=118,lastRule=java.util.SimpleTimeZone[id=Europe/Helsinki,offset=7200000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=858373712,minimalDaysInFirstWeek=1623535360,ERA=1,YEAR=2023,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=5,DAY_OF_MONTH=29,DAY_OF_YEAR=210,DAY_OF_WEEK=7,DAY_OF_WEEK_IN_MONTH=5,AM_PM=1,HOUR=5,HOUR_OF_DAY=17,MINUTE=16,SECOND=21,MILLISECOND=765,ZONE_OFFSET=7200000,DST_OFFSET=3600000] must be of the type class java.util.GregorianCalendar
SUCCESS 0s
Then the pojo Sat Jul 29 17:16:21 EEST 2023 must be of the type class java.util.Date
SUCCESS 0s
Then the given array should not be null or empty and contain elements of type class java.lang.Long
SUCCESS 0s
The long value cannot be zero
SUCCESS 0s
SUCCESS 0.16s
Serenity BDD version 1.2.2