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), 2022
*/
namespace Aimeos\Admin\JQAdm\Dashboard\Notify;
class StandardTest extends \PHPUnit\Framework\TestCase
{
private $context;
private $object;
private $view;
protected function setUp() : void
$this->view = \TestHelper::view();
$this->context = \TestHelper::context();
$this->object = new \Aimeos\Admin\JQAdm\Dashboard\Notify\Standard( $this->context );
$this->object->setAimeos( \TestHelper::getAimeos() );
$this->object->setView( $this->view );
}
protected function tearDown() : void
unset( $this->object, $this->view, $this->context );
public function testSearch()
$result = $this->object->search();
$this->assertStringContainsString( '', $result );