public function testCategoryNameScope() { $this->assertThat(Title::categoryName('category-a')->get(), new CollectionNestedCollectionPropertyHasOneValueConstraint('category-a', 'categories', 'cat_url_title')); }