public function testGetSetCustomerGroupId() { $this->assertEquals($this->groupManagement->getNotLoggedInGroup()->getId(), $this->_model->getCustomerGroupId()); $customerGroupId = 123; $this->_model->setCustomerGroupId($customerGroupId); $this->assertEquals($customerGroupId, $this->_model->getCustomerGroupId()); }
public function testGetSetCustomerGroupId() { $this->assertEquals(\Magento\Customer\Service\V1\CustomerGroupServiceInterface::NOT_LOGGED_IN_ID, $this->_model->getCustomerGroupId()); $customerGroupId = 123; $this->_model->setCustomerGroupId($customerGroupId); $this->assertEquals($customerGroupId, $this->_model->getCustomerGroupId()); }