/** @test */
function it_add_a_category_id_to_the_builder_givin_the_name_of_it(CategoryManager $category, NotificationCategory $categoryModel)
{
$name = 'category.name';
$category_id = 1;
$category->findByName($name)->shouldBeCalled()->willReturn($categoryModel);
$categoryModel->getAttribute('id')->willReturn($category_id);
$this->category($name)->shouldReturnAnInstanceOf(NotifynderBuilder::class);
}