for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2019-2022
*/
namespace Aimeos\Client\Html\Basket\Bulk;
class StandardTest extends \PHPUnit\Framework\TestCase
{
private $object;
private $context;
protected function setUp() : void
$this->context = \TestHelperHtml::context();
$this->object = new \Aimeos\Client\Html\Basket\Bulk\Standard( $this->context );
$this->object->setView( \TestHelperHtml::view() );
}
protected function tearDown() : void
unset( $this->object, $this->context );
public function testHeader()
$output = $this->object->header();
$this->assertStringContainsString( '<link rel="stylesheet"', $output );
$this->assertStringContainsString( '<script defer', $output );
public function testBody()
$this->assertStringContainsString( '<section class="aimeos basket-bulk"', $this->object->body() );