| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 45 | public function testDecorateSubClientGlobal() |
||
| 46 | { |
||
| 47 | $config = $this->context->getConfig(); |
||
| 48 | $config->set( 'client/html/catalog/filter/tree/decorators/global', array( 'Example' ) ); |
||
| 49 | |||
| 50 | $object = \Aimeos\Client\Html\Catalog\Filter\Factory::create( $this->context )->getSubClient( 'tree' ); |
||
| 51 | |||
| 52 | $this->assertInstanceOf( '\\Aimeos\\Client\\Html\\Common\\Decorator\\Iface', $object ); |
||
| 53 | } |
||
| 55 |