public function setup()
 {
     parent::setup();
     Session::start();
     $this->app["request"]->setSession(Session::driver());
     FieldPresenter::presenter(null);
 }
 /**
  * @expectedException Exception
  * @expectedExceptionMessage Field Type must implement FieldInterface
  **/
 public function testInvalidCustomFieldType()
 {
     FieldPresenter::presenter($this->presenter);
     FieldPresenter::add("custom", TestInvalidFieldType::class);
 }