Home > External Factory > External Factory Uni… > Podam should not create instances of an interface when given…
Report generated 29-07-2023 17:16

External Factory Unit Test

 External Factory (epics)

Podam Should Not Create Instances Of An Interface When Given An External Factory Which Does Not Manufacture The Concrete Type
  Steps Outcome Duration
Given an external factory
SUCCESS 0s
Given a Podam Factory with external factory uk.co.jemos.podam.test.unit.features.externalFactory.TestExternalFactory@495fdefb
SUCCESS 0s
Then the two objects uk.co.jemos.podam.test.unit.features.externalFactory.TestExternalFactory@495fdefb and uk.co.jemos.podam.test.unit.features.externalFactory.TestExternalFactory@495fdefb should be equal
SUCCESS 0s
When I invoke the factory manufacturing for interface uk.co.jemos.podam.test.dto.InterfacePojo
SUCCESS 0s
Then the object should be null
SUCCESS 0s
Then the two objects 1 and 1 should be equal
SUCCESS 0s
Then the two objects interface uk.co.jemos.podam.test.dto.InterfacePojo and interface uk.co.jemos.podam.test.dto.InterfacePojo should be equal
SUCCESS 0s
Then the two objects 0 and 0 should be equal
SUCCESS 0s
SUCCESS 0.11s
Serenity BDD version 1.2.2