NoneTest   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 5
c 1
b 0
f 0
dl 0
loc 20
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A tearDown() 0 3 1
A setUp() 0 3 1
A testGet() 0 3 1
1
<?php
2
3
/**
4
 * @license LGPLv3, https://opensource.org/licenses/LGPL-3.0
5
 * @copyright Aimeos (aimeos.org), 2024-2025
6
 */
7
8
namespace Aimeos\Base\Mail\Manager;
9
10
11
class NoneTest extends \PHPUnit\Framework\TestCase
12
{
13
	private $object;
14
15
16
	protected function setUp() : void
17
	{
18
		$this->object = new \Aimeos\Base\Mail\Manager\None();
19
	}
20
21
22
	protected function tearDown() : void
23
	{
24
		unset( $this->object );
25
	}
26
27
28
	public function testGet()
29
	{
30
		$this->assertInstanceOf( \Aimeos\Base\Mail\Iface::class, $this->object->get() );
31
	}
32
}
33