/** * Test get customer service email * @return void */ public function testGetCustomerServiceEmail() { $email = '*****@*****.**'; $this->scopeConfigMock->expects($this->once())->method('getValue')->with(\Magento\Security\Helper\SecurityConfig::XML_PATH_EMAIL_RECIPIENT, \Magento\Store\Model\ScopeInterface::SCOPE_STORE)->will($this->returnValue($email)); $this->assertEquals($email, $this->helper->getCustomerServiceEmail()); }