---
id: TST-PFM-INT-479
title: rule handlers
kind: unit
product_area: platform
module: integrations
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
  macroservice-libraries: 54536a441935c6e09fdb7f96f0bec71c52ba4e03
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
repository: services-platform
files:
  - modules/extensions/tests/unit/rule-handlers.spec.js
implements:
  - ATS-PFM-INT-017-11
environment: mock
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: Pure test fixtures owned by the test process.
evidence:
  - 'services-platform:modules/extensions/tests/unit/rule-handlers.spec.js'
test_cases:
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#answers TRUE for a subject
      the predicate holds for
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#answers FALSE for a subject
      the predicate does not hold for
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#answers UNKNOWN for a subject
      whose predicate is NULL
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#answers FALSE for a subject
      no row answered, known absent
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#is the object id, which the
      query layer registers as the dataset of the same id
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#refuses an object that is not
      shaped like an object id
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#carries the stored schemas,
      facts and examples and validates the output by its schema
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#reads a retired version as
      deprecated, the last state the SDK knows
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#carries the stored neutral
      output, which the SDK answers for a rule that does not hold
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#carries no neutral output for
      a version stored without one
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#refuses a schema the
      converter cannot read, naming the version
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#looks a version up by the
      point and the number, and answers nothing for another point or version
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#accepts a rule that fits the
      version
    provenance: test
  - source: >-
      services-platform:modules/extensions/tests/unit/rule-handlers.spec.js#names every problem by its
      path in the definition, its sentence and its code
    provenance: test
dependency_evidence:
  provenance: test
  source: 'services-platform:modules/extensions/tests/unit/rule-handlers.spec.js'
  reviewed:
    - Suite introduction
    - Fixture setup
    - Client substitutions
    - Assertions and cleanup
---
# rule handlers

## Verification Boundary

This unit suite exercises rule handlers. Its registration records the executable definition; no run result is asserted.

## What This Suite Proves

The bindings identify the detailed outcomes asserted by this suite. Test-level evidence retains the individual checks, including cases where several suites contribute to one scenario.

## What It Does Not Prove

Pure cases do not establish database constraints, deployed authorization or provider effects.

## Real Dependencies and Test Doubles

The suite evaluates its imported functions with controlled inputs. Its source records the fixture and substitution boundary.

## Must Not Be Doubled

The function under test and its result checks must execute. Replacing them with expected answers provides no proof.
