Completed
Push — master ( 6b4d01...deddd6 )
by Daniel
03:16
created

DefaultRpcControllerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testWhoAction() 0 8 1
1
<?php
2
3
namespace Application\Tests\Infrastructure\Controller;
4
5
use Application\Infrastructure\Controller\DefaultRpcController;
6
use Application\Tests\BaseTestCase;
7
8
class DefaultRpcControllerTest extends BaseTestCase
9
{
10
    public function testWhoAction()
11
    {
12
        $controller = new DefaultRpcController();
13
        $controller->setContainer($this->getContainer());
14
        $who = $controller->whoAction();
15
16
        $this->assertEquals('Daniel Oliveira <[email protected]>', $who['name']);
17
    }
18
}