| Total Complexity | 5 | 
| Total Lines | 38 | 
| Duplicated Lines | 0 % | 
| Changes | 3 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 19 | abstract class TestCase extends BaseTestCase  | 
            ||
| 20 | { | 
            ||
| 21 | /**  | 
            ||
| 22 | * @param \Traversable|array $iterable  | 
            ||
| 23 | * @return array  | 
            ||
| 24 | */  | 
            ||
| 25 | protected function iterableToArray(iterable $iterable): array  | 
            ||
| 26 |     { | 
            ||
| 27 |         if ($iterable instanceof \Traversable) { | 
            ||
| 28 | return \iterator_to_array($iterable, false);  | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | return $iterable;  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @param string $class  | 
            ||
| 36 | * @return string  | 
            ||
| 37 | */  | 
            ||
| 38 | protected function classNamespace(string $class): string  | 
            ||
| 41 | }  | 
            ||
| 42 | |||
| 43 | /**  | 
            ||
| 44 | * @param string $class  | 
            ||
| 45 | * @param array $fields  | 
            ||
| 46 | * @return object  | 
            ||
| 47 | */  | 
            ||
| 48 | protected function newAnnotation(string $class, array $fields = []): object  | 
            ||
| 57 | }  | 
            ||
| 58 | }  | 
            ||
| 59 |