| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | private function setClassFileNameAndPath($class_file_name_and_path = null) |
||
| 29 | { |
||
| 30 | |||
| 31 | if (!$class_file_name_and_path) { |
||
| 32 | $file_name = $this->app->getContainer()['filesystem']->name($this->path); |
||
| 33 | |||
| 34 | $class_file_name_and_path = sprintf("tests/Unit/%sTest.php", camel_case($file_name)); |
||
| 35 | } |
||
| 36 | |||
| 37 | $this->class_file_name_and_path = $class_file_name_and_path; |
||
| 38 | |||
| 39 | return $this; |
||
| 40 | } |
||
| 41 | |||
| 55 |