| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class AssertionAdapter |
||
| 24 | { |
||
| 25 | private $assertion; |
||
| 26 | |||
| 27 | public function __construct(Assertion $assertion) |
||
| 28 | { |
||
| 29 | $this->assertion = $assertion; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $inResponseTo |
||
| 34 | * @return bool |
||
| 35 | */ |
||
| 36 | public function inResponseToMatches($inResponseTo) |
||
| 37 | { |
||
| 38 | return $this->getInResponseTo() === $inResponseTo; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return null|string |
||
| 43 | */ |
||
| 44 | public function getInResponseTo() |
||
| 50 | } |
||
| 51 | } |
||
| 52 |