Completed
Push — master ( a7a4b1...4dab2b )
by Shcherbak
25:32 queued 10:30
created

CombinedStringListTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testAll() 0 8 1
1
<?php
2
3
  namespace Funivan\CabbageCore\String\StringList\Combined;
4
5
  use Funivan\CabbageCore\String\StringList\StringList;
6
  use PHPUnit\Framework\TestCase;
7
8
  class CombinedStringListTest extends TestCase {
9
10
    public function testAll() : void {
11
      self::assertSame(
12
        ['a', 'b'],
13
        iterator_to_array(
14
          (new CombinedStringList(new StringList('a'), new StringList('b')))->all()
15
        )
16
      );
17
    }
18
  }
19