public function iAmAuthenticatedWithRole($roleIdentifier)
{
if ($this->isolated === true) {
$this->callStepInSubProcess(__METHOD__, sprintf(' %s %s', 'string', escapeshellarg($roleIdentifier)));
} else {
$this->setupSecurity();
$this->authenticateRoles(Arrays::trimExplode(',', $roleIdentifier));
}
}