Home > Basic Types > Podam Factory Basic… > Podam should handle immutable non annotated POJOs
Report generated 29-07-2023 17:16

Podam Factory Basic Types Test

 Basic Types (epics)

Podam Should Handle Immutable Non Annotated Pojos
  Steps Outcome Duration
Given a standard Podam Factory
SUCCESS 0s
When I invoke the factory manufacturing for class uk.co.jemos.podam.test.dto.ImmutableNonAnnotatedPojo
SUCCESS 0s
Then the pojo ImmutableNoHierarchicalPojo [intField=957389947, dateCreated=Sat Jul 29 17:16:26 EEST 2023, longArray=[1136870295023300, 1136870295062100, 1136870295096200, 1136870295129200, 1136870295161700]] must be of the type class uk.co.jemos.podam.test.dto.ImmutableNonAnnotatedPojo
SUCCESS 0s
Then the int field should not be zero
SUCCESS 0s
Then the pojo java.util.GregorianCalendar[time=1690640186051,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=385031347,minimalDaysInFirstWeek=83574846,ERA=1,YEAR=2023,MONTH=6,WEEK_OF_YEAR=30,WEEK_OF_MONTH=4,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=26,MILLISECOND=51,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:26 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