You are here

public function vfsStreamTestCase::inspectWithoutContentAndWithoutRootThrowsInvalidArgumentException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php \org\bovigo\vfs\vfsStreamTestCase::inspectWithoutContentAndWithoutRootThrowsInvalidArgumentException()

@test @group issue_10 @expectedException \InvalidArgumentException @since 0.10.0

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php, line 569

Class

vfsStreamTestCase
Test for org\bovigo\vfs\vfsStream.

Namespace

org\bovigo\vfs

Code

public function inspectWithoutContentAndWithoutRootThrowsInvalidArgumentException() {
  $mockVisitor = $this
    ->getMock('org\\bovigo\\vfs\\visitor\\vfsStreamVisitor');
  $mockVisitor
    ->expects($this
    ->never())
    ->method('visit');
  $mockVisitor
    ->expects($this
    ->never())
    ->method('visitDirectory');
  vfsStream::inspect($mockVisitor);
}