Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function testCreatesResponse() |
||
14 | { |
||
15 | $context = new ProfileContext(Profiles::SSO_IDP_RECEIVE_AUTHN_REQUEST, ProfileContext::ROLE_IDP); |
||
16 | $action = new CreateResponseAction($this->getLoggerMock()); |
||
|
|||
17 | $action->execute($context); |
||
18 | |||
19 | $this->assertInstanceOf(Response::class, $context->getOutboundMessage()); |
||
20 | } |
||
21 | |||
30 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.