/** * Tests the use case where 'back_url' has been set on the block. */ public function testGetBackUrlNotNullData() { $this->_block->setData('back_url', self::LOGIN_URL); $this->assertEquals(self::LOGIN_URL, $this->_block->getBackUrl()); }