| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class FinderRuleWithModulePrefixTest extends TestCase |
||
| 12 | { |
||
| 13 | private FinderRuleWithModulePrefix $rule; |
||
| 14 | |||
| 15 | protected function setUp(): void |
||
| 18 | } |
||
| 19 | |||
| 20 | public function test_build_without_project_namespace(): void |
||
| 21 | { |
||
| 22 | $projectNamespace = ''; |
||
| 23 | $resolvableType = 'Factory'; |
||
| 24 | $classInfo = ClassInfo::from($this); |
||
| 25 | |||
| 26 | $actual = $this->rule->buildClassCandidate($projectNamespace, $resolvableType, $classInfo); |
||
| 27 | |||
| 28 | self::assertSame('\Rule\RuleFactory', $actual); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function test_build_with_project_namespace(): void |
||
| 40 | } |
||
| 41 | } |
||
| 42 |