OwenIt\Auditing\Tests\AuditObserverTest::test_saving_handler_prepare_audit PHP Method

test_saving_handler_prepare_audit() public method

    public function test_saving_handler_prepare_audit()
    {
        $observer = new Audit();
        $model = Mockery::mock(Auditable::class);
        $model->shouldReceive('prepareAudit');
        $observer->saving($model);
    }