1 | <?php |
||
27 | class FeatureContext implements Context |
||
28 | { |
||
29 | /** |
||
30 | * @var FixtureService |
||
31 | */ |
||
32 | private $fixtureService; |
||
33 | |||
34 | private $whitelistedInstitutions = []; |
||
35 | |||
36 | /** |
||
37 | * @var MinkContext |
||
38 | */ |
||
39 | private $minkContext; |
||
40 | |||
41 | public function __construct(FixtureService $fixtureService) |
||
45 | |||
46 | /** |
||
47 | * @BeforeFeature |
||
48 | */ |
||
49 | public static function setupDatabase(BeforeFeatureScope $scope) |
||
56 | |||
57 | /** |
||
58 | * @BeforeScenario |
||
59 | */ |
||
60 | public function gatherContexts(BeforeScenarioScope $scope) |
||
65 | |||
66 | /** |
||
67 | * @Given /^a user from ([^"]*) identified by ([^"]*) with a vetted ([^"]*) token$/ |
||
68 | */ |
||
69 | public function aUserIdentifiedByWithAVettedToken($institution, $nameId, $tokenType) |
||
77 | |||
78 | /** |
||
79 | * @Then I should see the Yubikey OTP screen |
||
80 | */ |
||
81 | public function iShouldSeeTheYubikeyOtpScreen() |
||
87 | |||
88 | /** |
||
89 | * @When I enter the OTP |
||
90 | */ |
||
91 | public function iEnterTheOtp() |
||
97 | |||
98 | /** |
||
99 | * @Given /^a whitelisted institution ([^"]*)$/ |
||
100 | */ |
||
101 | public function aWhitelistedInstitution($institution) |
||
105 | } |
||
106 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.