FormTesting.php 629 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Payment\Test\Unit\Block\Transparent;
  7. use Magento\Payment\Block\Transparent\Form;
  8. /**
  9. * Class FormTesting extended test class, used to substitute calls to parent methods
  10. * @package Magento\Payment\Test\Unit\Block\Transparent
  11. */
  12. class FormTesting extends Form
  13. {
  14. /**
  15. * Return values for processHtml() method
  16. */
  17. const PROCESS_HTML_RESULT = 'parent_result';
  18. /**
  19. * {inheritdoc}
  20. */
  21. protected function processHtml()
  22. {
  23. return self::PROCESS_HTML_RESULT;
  24. }
  25. }