We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc5b5a1 commit 1f8418eCopy full SHA for 1f8418e
tests/Unit/Analyzer/ClassDescriptionBuilderTest.php
@@ -122,4 +122,15 @@ public function test_it_should_add_attributes(): void
122
$classDescription->getAttributes()
123
);
124
}
125
+
126
+ public function test_it_should_set_file_path(): void
127
+ {
128
+ $filePath = 'filePath/filePath2';
129
+ $classDescriptionBuilder = ClassDescriptionBuilder::create();
130
+ $classDescriptionBuilder->setClassName('FQCN');
131
+ $classDescriptionBuilder->setFilePath($filePath);
132
133
+ $classDescription = $classDescriptionBuilder->get();
134
+ $this->assertEquals($filePath, $classDescription->fullPath());
135
+ }
136
0 commit comments