public function testNotAllCategoriesScope() { $this->assertThat(Title::notAllCategories(1, 2)->get(), new CollectionNestedCollectionPropertyDoesNotHaveAllValuesConstraint([1, 2], 'categories', 'cat_id')); }