<?php

class MockJsonModel extends Illuminate\Database\Eloquent\Model
{
    use \ModelJsonColumn\JsonColumnTrait;

    protected $json_columns;

    public function __construct(array $attributes = [])
    {
        static::$booted[get_class($this)] = true;
        parent::__construct($attributes);
    }

    public function setJsonColumns(array $columns)
    {
        $this->json_columns = $columns;
    }

    public function setCastsColumns(array $columns)
    {
        $this->casts = $columns;
    }

    public function setJsonColumnDefaults($column_name, $defaults)
    {
        $this->json_defaults[$column_name] = $defaults;
    }
}

<?php

class MockJsonModel extends Illuminate\Database\Eloquent\Model
{
    use \ModelJsonColumn\JsonColumnTrait;

    protected $json_columns;

    public function __construct(array $attributes = [])
    {
        static::$booted[get_class($this)] = true;
        parent::__construct($attributes);
    }

    public function setJsonColumns(array $columns)
    {
        $this->json_columns = $columns;
    }

    public function setCastsColumns(array $columns)
    {
        $this->casts = $columns;
    }

    public function setJsonColumnDefaults($column_name, $defaults)
    {
        $this->json_defaults[$column_name] = $defaults;
    }

    public function getCustomGetAttribute()
    {
        return 'custom getter result';
    }

    public function setCustomSetAttribute($value)
    {
        $this->setJsonAttribute($this->jsonAttributes['custom_set'], 'custom_set', "custom {$value}");
    }
}

--- 
+++ 
@@ -26,14 +26,4 @@
     {
         $this->json_defaults[$column_name] = $defaults;
     }
-
-    public function getCustomGetAttribute()
-    {
-        return 'custom getter result';
-    }
-
-    public function setCustomSetAttribute($value)
-    {
-        $this->setJsonAttribute($this->jsonAttributes['custom_set'], 'custom_set', "custom {$value}");
-    }
 }
Remove irrelvant methods in the test model
