CRUD
1.0
|
Public Member Functions | |
__construct (Scenario $scenario) | |
thatIWantToCreateANew ($arg1) | |
hisIs ($arg1, $arg2) | |
iRequest ($arg1) | |
iseeResponseCodeIs ($num) | |
theResponseShouldBeJSON () | |
theResponseHasAProperty ($arg1) | |
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)
ApiTester::__construct | ( | Scenario | $scenario | ) |
ApiTester::hisIs | ( | $arg1, | |
$arg2 | |||
) |
his :arg1 is :arg2
ApiTester::iRequest | ( | $arg1 | ) |
I request :arg1
ApiTester::iseeResponseCodeIs | ( | $num | ) |
I see response code is :num
ApiTester::thatIWantToCreateANew | ( | $arg1 | ) |
that I want to create a new :arg1
ApiTester::theResponseHasAProperty | ( | $arg1 | ) |
I see response has a :arg1 property
ApiTester::theResponseShouldBeJSON | ( | ) |
I see response is JSON