메소드 | 설명 | |
---|---|---|
callProtectedMethod ( $object, $method, array $args = [] ) | ||
setUp ( ) | Setup the class for testing | |
testCanGetScannedContentFromJsonFile ( ) | ||
testCanPopulatePathUsingInputFile ( ) | ||
testCanProbePathAndGenerateArrayOfContent ( ) | ||
testCanScanPathAndCreateValidResponseFile ( ) | ||
testCanScanPathAndGetResult ( ) | ||
testGettingContentThrowsExceptionForEmptyFile ( ) | ||
testGettingContentThrowsExceptionForInvalidFile ( ) | ||
testThrowsExceptionTryingToScanInvalidPath ( ) |
메소드 | 설명 | |
---|---|---|
tearDown ( ) | Remove unnecessary files/directories |
메소드 | 설명 | |
---|---|---|
isValidJson ( $json ) | ||
removeDirectory ( $directory ) |
public static callProtectedMethod ( $object, $method, array $args = [] ) | ||
$args | array |
public testCanProbePathAndGenerateArrayOfContent ( ) |
public testCanScanPathAndCreateValidResponseFile ( ) |
public testThrowsExceptionTryingToScanInvalidPath ( ) |