示例#1
0
 public function testAuthorIdScope()
 {
     $this->assertThat(Title::authorId(2)->get(), new CollectionPropertyHasOneValueConstraint(2, 'author_id'));
 }