====== tests/api/unit/dto/TopicApiDtoTest.php ====== **Source:** ''tests/api/unit/dto/TopicApiDtoTest.php'' · 150 lines, ~551 statements · namespace: //(global)// · `declare(strict_types=1)`: no ---- TopicApiDto Test Unit tests for Scriptlog\Dto\Api\TopicApiDto. The transform() output contract (verified against the implementation in lib/dto/api/TopicApiDto.php) emits: id, title, slug, status, post_count, url. TopicApiDto does not emit per-item _links. ======= Includes ======= ^ Mode ^ Target ^ Line ^ | ''require'' | ''require_once __DIR__ . '/../../ApiTestCase.php';'' | 14 | | ''require'' | ''require_once __DIR__ . '/../../fixtures/ApiDataFixture.php';'' | 15 | ======= Types declared here ======= * [[scriptlog:tests:topicapidtotest|TopicApiDtoTest]] ---- //Generated by 'tools/gendoc'.//