You are here

public function FinderTest::testSize in Database Sanitize 7

File

vendor/symfony/finder/Tests/FinderTest.php, line 166

Class

FinderTest

Namespace

Symfony\Component\Finder\Tests

Code

public function testSize() {
  $finder = $this
    ->buildFinder();
  $this
    ->assertSame($finder, $finder
    ->files()
    ->size('< 1K')
    ->size('> 500'));
  $this
    ->assertIterator($this
    ->toAbsolute(array(
    'test.php',
  )), $finder
    ->in(self::$tmpDir)
    ->getIterator());
}