/** * @magentoDataFixture Magento/Customer/_files/customer.php * @expectedException \Magento\Framework\Exception\State\InvalidTransitionException */ public function testResendConfirmationNotNeeded() { $this->_customerAccountService->resendConfirmation('*****@*****.**', 1); }