delete() public method

Delete a notification giving the id of it.
public delete ( $notificationId ) : boolean
$notificationId
return boolean
 /** @test */
 function it_delete_a_notification_by_id()
 {
     $notificationToDelete = $this->createNotification();
     $deleted = $this->notificationRepo->delete($notificationToDelete->id);
     $this->assertEquals(1, $deleted);
     $this->assertCount(0, Notification::all());
 }