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), 2015-2025
*/
namespace Aimeos\Client\Html\Catalog\Count\Tree;
class StandardTest extends \PHPUnit\Framework\TestCase
{
private $object;
protected function setUp() : void
$this->object = new \Aimeos\Client\Html\Catalog\Count\Tree\Standard( \TestHelper::context() );
$this->object->setView( \TestHelper::view() );
}
protected function tearDown() : void
unset( $this->object );
public function testBody()
$this->object->setView( $this->object->data( \TestHelper::view() ) );
$output = $this->object->body();
$this->assertStringStartsWith( '{"', $output );