CRUD  1.0
Public Member Functions | List of all members
ApiTester Class Reference
Inheritance diagram for ApiTester:
Inheritance graph
[legend]
Collaboration diagram for ApiTester:
Collaboration graph
[legend]

Public Member Functions

 __construct (Scenario $scenario)
 
 thatIWantToCreateANew ($arg1)
 
 hisIs ($arg1, $arg2)
 
 iRequest ($arg1)
 
 iseeResponseCodeIs ($num)
 
 theResponseShouldBeJSON ()
 
 theResponseHasAProperty ($arg1)
 

Detailed Description

Inherited Methods void wantToTest($text) void wantTo($text) void execute($callable) void expectTo($prediction) void expect($prediction) void amGoingTo($argumentation) void am($role) void lookForwardTo($achieveValue) void comment($description) void pause()

(PHPMD)

Constructor & Destructor Documentation

◆ __construct()

ApiTester::__construct ( Scenario  $scenario)

Member Function Documentation

◆ hisIs()

ApiTester::hisIs (   $arg1,
  $arg2 
)

his :arg1 is :arg2

◆ iRequest()

ApiTester::iRequest (   $arg1)

I request :arg1

◆ iseeResponseCodeIs()

ApiTester::iseeResponseCodeIs (   $num)

I see response code is :num

◆ thatIWantToCreateANew()

ApiTester::thatIWantToCreateANew (   $arg1)

that I want to create a new :arg1

◆ theResponseHasAProperty()

ApiTester::theResponseHasAProperty (   $arg1)

I see response has a :arg1 property

◆ theResponseShouldBeJSON()

ApiTester::theResponseShouldBeJSON ( )

I see response is JSON


The documentation for this class was generated from the following file: