====== tests/unit/ConsentServiceTest.php ====== **Source:** ''tests/unit/ConsentServiceTest.php'' · 245 lines, ~1008 statements · namespace: //(global)// · `declare(strict_types=1)`: no ---- Unit tests for ConsentService. ConsentService is a thin orchestration layer over ConsentDao. Every public method must delegate to the injected DAO (or derive from its return value), so this suite uses a mocked ConsentDao and asserts delegation contracts. ======= Imports ======= ^ Alias ^ Fully-qualified name ^ | ''TestCase'' | ''PHPUnit\Framework\TestCase'' | | ''ConsentDao'' | ''Scriptlog\Dao\ConsentDao'' | | ''ConsentService'' | ''Scriptlog\Service\ConsentService'' | ======= Types declared here ======= * [[scriptlog:tests:consentservicetest|ConsentServiceTest]] ---- //Generated by 'tools/gendoc'.//