You are here

function TestFileTransfer::isDirectory in SimpleTest 7

Checks if a particular path is a directory

Parameters

$path: The path to check

Return value

boolean

Overrides FileTransfer::isDirectory

File

tests/filetransfer.test, line 138

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function isDirectory($path) {
  return $this->shouldIsDirectoryReturnTrue;
}