Home > Basic Types > Podam Factory Basic… > Podam should fill Java native types
Report generated 29-07-2023 17:16

Podam Factory Basic Types Test

 Basic Types (epics)

Podam Should Fill Java Native Types
  Steps Outcome Duration
Given a standard Podam Factory
SUCCESS 0s
When I invoke the factory manufacturing for class java.lang.Integer
SUCCESS 0s
Then the pojo 1354638815 must be of the type class java.lang.Integer
SUCCESS 0s
When I invoke the factory manufacturing for class java.util.GregorianCalendar
SUCCESS 0s
Then the pojo java.util.GregorianCalendar[time=1690640186171,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=470695456,minimalDaysInFirstWeek=286080238,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=26,MILLISECOND=171,ZONE_OFFSET=7200000,DST_OFFSET=3600000] must be of the type class java.util.GregorianCalendar
SUCCESS 0s
When I invoke the factory manufacturing for class java.util.Date
SUCCESS 0s
Then the pojo Sat Jul 29 17:16:26 EEST 2023 must be of the type class java.util.Date
SUCCESS 0s
When I invoke the factory manufacturing for class java.math.BigDecimal
SUCCESS 0s
Then the pojo 223376202354 must be of the type class java.math.BigDecimal
SUCCESS 0s
SUCCESS 0.12s
Serenity BDD version 1.2.2