$caption='<p>'.$this->formatPlural($num_feeds,'%type is used by 1 feed on your site. You can not remove this feed type until you have removed all of the %type feeds. <a href=":link">Return to feed types list.</a>','%type is used by @count feeds on your site. You may not remove %type until you have removed all of the %type feeds. <a href=":link">Return to feed types list.</a>',[
$this->assertSession()->pageTextContains("$feed_type_label is used by 1 feed on your site. You can not remove this feed type until you have removed all of the $feed_type_label feeds.");
$this->assertSession()->pageTextNotContains('This action cannot be undone.');
// Delete the feed.
$feed->delete();
// Attempt to delete the feed type, which should now be allowed.