/** * @test */ public function contextUsesFirstConfigForHashing() { $context = new Context(); $context->addConfig('bcrypt'); $context->addConfig('pbkdf2'); $this->assertStringStartsWith('$2a$', $context->hash('password')); }