You are here

private function DirectoryIterationTestCase::assertDirectoryCount in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php \org\bovigo\vfs\DirectoryIterationTestCase::assertDirectoryCount()

assertion for directoy count

Parameters

int $expectedCount:

int $actualCount:

3 calls to DirectoryIterationTestCase::assertDirectoryCount()
DirectoryIterationTestCase::directoryIteration in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php
@test @dataProvider provideSwitchWithExpectations
DirectoryIterationTestCase::directoryIterationWithDot in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php
@test @dataProvider provideSwitchWithExpectations
DirectoryIterationTestCase::directoryIterationWithOpenDir_Bug_2 in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php
assure that a directory iteration works as expected

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php, line 44

Class

DirectoryIterationTestCase
Test for directory iteration.

Namespace

org\bovigo\vfs

Code

private function assertDirectoryCount($expectedCount, $actualCount) {
  $this
    ->assertEquals($expectedCount, $actualCount, 'Directory foo contains ' . $expectedCount . ' children, but got ' . $actualCount . ' children while iterating over directory contents');
}