public function test_delete()
{
$repo = App::make(ConfigRepository::class);
$config = factory(Config::class)->create();
$delete = $repo->delete($config->field);
$this->assertEquals(1, $delete);
$this->setExpectedException(RepositoryException::class);
$repo->withoutTrashed()->get($config->field);
}