/**
* @Then I should not be able to delete it again
*/
public function iShouldNotBeAbleToDeleteCustomerAgain()
{
$customer = $this->sharedStorage->get('customer');
$this->customerShowPage->open(['id' => $customer->getId()]);
try {
$this->customerShowPage->deleteAccount();
} catch (ElementNotFoundException $exception) {
return;
}
throw new \DomainException('Delete account should throw an exception!');
}