The whole idea is to allow <https://github.com/lucadegasperi/laravel-feature-context/blob/master/src/LaravelFeatureContext.php> to be simplified with just

```php
<?php namespace LucaDegasperi\LaravelFeatureContext;

use Behat\Behat\Context\BehatContext;
use Illuminate\Config\Repository as Config;
use Illuminate\Foundation\Application;
use Illuminate\Foundation\AliasLoader;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Facade;
use Illuminate\View\View;
use Illuminate\Auth\UserInterface;
use Symfony\Component\HttpKernel\Client;

require_once "vendor/phpunit/phpunit/src/Framework/Assert/Functions.php";

abstract class LaravelFeatureContext extends BehatContext {

    use AssertionsTrait, \Illuminate\Foundation\Testing\ApplicationTrait;

    /**
     * Initializes context.
     * Every scenario gets its own context object.
     *
     * @param array $parameters context parameters (set them up through behat.yml)
     */
    public function __construct(array $parameters)
    {
        if (!$this->app) {
            $this->refreshApplication();
        }
    }
```

This would hugely reduce duplicate code.