Skip to content

Commit

Permalink
fixup! Refactor file processors towards universal collector (#6085)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 12, 2021
1 parent 06f85e4 commit 7183622
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ final class MultipleClassFileToPsr4ClassesRectorTest extends AbstractRectorTestC
public function test(SmartFileInfo $originalFileInfo, array $expectedFilePathsWithContents): void
{
$this->doTestFileInfo($originalFileInfo);

$expectedFilesCount = count($expectedFilePathsWithContents);

$movedFiles = $this->removedAndAddedFilesCollector->getMovedFiles();
$movedFilesCount = count($movedFiles);
$this->assertSame($expectedFilesCount, $movedFilesCount);

$this->assertFilesWereAdded($expectedFilePathsWithContents);
}

Expand Down

0 comments on commit 7183622

Please sign in to comment.