Bart\GitHook\CodeFreezeTest::testWhenAllFrozenAndEnvNotSet PHP Method

testWhenAllFrozenAndEnvNotSet() public method

    public function testWhenAllFrozenAndEnvNotSet()
    {
        $this->shmockAndDieselify('\\Bart\\GitHook\\GitHookSystemConfig', function ($config) {
            $config->frozenRepoNames()->once()->return_value(['all']);
            $config->envVarNameForPushUser()->once()->return_value(Option::fromValue('GITOSIS_USER'));
            $config->superUserNames()->once()->return_value(['braynard']);
        }, true);
        // Note there is no variable set for ENV
        $freeze = new CodeFreeze();
        $freeze->run($this->head);
    }