Home > Annotations > Annotations Test > Podam should handle both native and wrapped long values with…
Report generated 29-07-2023 17:16

Annotations Test

 Annotations (epics)

Podam Should Handle Both Native And Wrapped Long Values With @Podamlongvalue Annotation
  Steps Outcome Duration
Given a standard Podam Factory
SUCCESS 0s
When I invoke the factory manufacturing for class uk.co.jemos.podam.test.dto.annotations.LongValuePojo
SUCCESS 0s
Then the object LongRangeValuesPojo ( longFieldWithMinValueOnly = 1 longFieldWithMaxValueOnly = 85 longFieldWithMinAndMaxValue = 698 longFieldWithPreciseValue = 12345678912 longObjectFieldWithMinValueOnly = 1 longObjectFieldWithMaxValueOnly = 67 longObjectFieldWithMinAndMaxValue = 862 longObjectFieldWithPreciseValue = 12345678912 ) should not be null
SUCCESS 0s
Then the long field 1 should be greater or equal to zero
SUCCESS 0s
Then the long field 85 should be less than 100
SUCCESS 0s
Then the long field 698 should have a value comprised between 1 and 1000
SUCCESS 0s
Then the pojo 1 must be of the type class java.lang.Long
SUCCESS 0s
Then the long field 1 should be greater or equal to zero
SUCCESS 0s
Then the pojo 67 must be of the type class java.lang.Long
SUCCESS 0s
Then the long field 1 should be less than 100
SUCCESS 0s
Then the pojo 862 must be of the type class java.lang.Long
SUCCESS 0s
Then the long field 862 should have a value comprised between 1 and 1000
SUCCESS 0s
Then the long value should be precisely 12345678912
SUCCESS 0s
Then the pojo 12345678912 must be of the type class java.lang.Long
SUCCESS 0s
Then the long value should be precisely 12345678912
SUCCESS 0s
SUCCESS 0.13s
Serenity BDD version 1.2.2