public function testGroupIdScope() { $this->assertThat(Title::groupId(5)->get(), new CollectionNestedPropertyHasOneValueConstraint(5, 'author', 'group_id')); }