public function testRenderConfigureResultNotOK() { $configureResult = new \Magento\Framework\Object(); $configureResult->setError(true)->setMessage('Test Message'); $this->helper->renderConfigureResult($configureResult); $customerId = $this->registry->registry(RegistryConstants::CURRENT_CUSTOMER_ID); $this->assertNull($customerId); $errorMessage = $this->registry->registry('composite_configure_result_error_message'); $this->assertEquals('Test Message', $errorMessage); }