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

test_created_handler_audit_creation() public method

    public function test_created_handler_audit_creation()
    {
        $observer = new Audit();
        $model = Mockery::mock(Auditable::class);
        $model->shouldReceive('auditCreation');
        $observer->created($model);
    }