$this->assertRaw(t('Are you sure you want to cancel the account %name?',['%name'=>$cancel_user->getUsername()]),'Confirmation form to cancel account displayed.');
$this->assertSession()->responseContains('Are you sure you want to cancel the account '.$cancel_user->getUsername().'?');
$this->assertRaw(t('Disable the account and keep its content.').' '.t('This action cannot be undone.'),'Cannot select account cancellation method.');
$this->assertSession()->responseContains('Disable the account and keep its content. This action cannot be undone.');
// Test that cancel confirmation gives an admin style message.
// Test that cancel confirmation gives an admin style message.