public function whenEnvironmentIs()
    {
        $environments = func_get_args();

        $appEnvironment = $this->appEnvironment;

        return $this->when(function($asset) use ($environments, $appEnvironment)
        {
            return in_array($appEnvironment, $environments);
        });
    }