public function testBindCustomerLogout() { $observer = new \Magento\Framework\Object(); $this->_model->setCustomerId('1'); $this->_model->bindCustomerLogout($observer); $this->assertTrue($this->_model->getDoCustomerLogout()); $this->_model->unsetData(); $this->_model->bindCustomerLogout($observer); $this->assertNull($this->_model->getDoCustomerLogout()); }