artisan('payone:hash-key') ->expectsQuestion('PAYONE-Portal-Key (Klartext, verdeckte Eingabe)', 'Zjop5cvP2UeB7Qhy') ->expectsOutputToContain('698fb2555f8b2efc74f60b2121421f45') ->assertExitCode(0); }); it('hasht beliebige Eingaben deterministisch (md5)', function (): void { $this->artisan('payone:hash-key') ->expectsQuestion('PAYONE-Portal-Key (Klartext, verdeckte Eingabe)', 'hello') ->expectsOutputToContain(hash('md5', 'hello')) ->assertExitCode(0); });