Completed
Branch master (136162)
by Aimeos
06:57
created

AimeosTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
dl 0
loc 13
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testGet() 0 4 1
A testGetVersion() 0 4 1
1
<?php
2
3
class AimeosTest extends AimeosTestAbstract
4
{
5
	public function testGet()
6
	{
7
		$object = $this->app->make('\Aimeos\Shop\Base\Aimeos')->get();
8
		$this->assertInstanceOf( '\Aimeos\Bootstrap', $object );
9
	}
10
11
12
	public function testGetVersion()
13
	{
14
		$object = $this->app->make('\Aimeos\Shop\Base\Aimeos');
15
		$this->assertInternalType( 'string', $object->getVersion() );
16
	}
17
}
18