- /** @var Page $pageA */
- /** @var Page $pageB */
- /** @var Book $book */
- $pageA = Page::query()->first();
- $pageB = Page::query()->where('id', '!=', $pageA->id)->first();
- $book = Book::query()->first();
+ $pageA = $this->entities->page();
+ $pageB = $this->entities->page();
+ $book = $this->entities->book();