Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
_generated Namespace Reference

Functions

 expectException ($exception, $callback)
 
 expectThrowable ($throwable, $callback)
 
 assertFileNotExists ($filename, $message="")
 
 assertGreaterOrEquals ($expected, $actual, $message="")
 
 assertIsEmpty ($actual, $message="")
 
 assertLessOrEquals ($expected, $actual, $message="")
 
 assertNotRegExp ($pattern, $string, $message="")
 
 assertRegExp ($pattern, $string, $message="")
 
 assertThatItsNot ($value, $constraint, $message="")
 
 assertArrayHasKey ($key, $array, $message="")
 
 assertArrayNotHasKey ($key, $array, $message="")
 
 assertClassHasAttribute ($attributeName, $className, $message="")
 
 assertClassHasStaticAttribute ($attributeName, $className, $message="")
 
 assertClassNotHasAttribute ($attributeName, $className, $message="")
 
 assertClassNotHasStaticAttribute ($attributeName, $className, $message="")
 
 assertContains ($needle, $haystack, $message="")
 
 assertContainsEquals ($needle, $haystack, $message="")
 
 assertContainsOnly ($type, $haystack, $isNativeType=NULL, $message="")
 
 assertContainsOnlyInstancesOf ($className, $haystack, $message="")
 
 assertCount ($expectedCount, $haystack, $message="")
 
 assertDirectoryDoesNotExist ($directory, $message="")
 
 assertDirectoryExists ($directory, $message="")
 
 assertDirectoryIsNotReadable ($directory, $message="")
 
 assertDirectoryIsNotWritable ($directory, $message="")
 
 assertDirectoryIsReadable ($directory, $message="")
 
 assertDirectoryIsWritable ($directory, $message="")
 
 assertDoesNotMatchRegularExpression ($pattern, $string, $message="")
 
 assertEmpty ($actual, $message="")
 
 assertEquals ($expected, $actual, $message="")
 
 assertEqualsCanonicalizing ($expected, $actual, $message="")
 
 assertEqualsIgnoringCase ($expected, $actual, $message="")
 
 assertEqualsWithDelta ($expected, $actual, $delta, $message="")
 
 assertFalse ($condition, $message="")
 
 assertFileDoesNotExist ($filename, $message="")
 
 assertFileEquals ($expected, $actual, $message="")
 
 assertFileEqualsCanonicalizing ($expected, $actual, $message="")
 
 assertFileEqualsIgnoringCase ($expected, $actual, $message="")
 
 assertFileExists ($filename, $message="")
 
 assertFileIsNotReadable ($file, $message="")
 
 assertFileIsNotWritable ($file, $message="")
 
 assertFileIsReadable ($file, $message="")
 
 assertFileIsWritable ($file, $message="")
 
 assertFileNotEquals ($expected, $actual, $message="")
 
 assertFileNotEqualsCanonicalizing ($expected, $actual, $message="")
 
 assertFileNotEqualsIgnoringCase ($expected, $actual, $message="")
 
 assertFinite ($actual, $message="")
 
 assertGreaterThan ($expected, $actual, $message="")
 
 assertGreaterThanOrEqual ($expected, $actual, $message="")
 
 assertInfinite ($actual, $message="")
 
 assertInstanceOf ($expected, $actual, $message="")
 
 assertIsArray ($actual, $message="")
 
 assertIsBool ($actual, $message="")
 
 assertIsCallable ($actual, $message="")
 
 assertIsClosedResource ($actual, $message="")
 
 assertIsFloat ($actual, $message="")
 
 assertIsInt ($actual, $message="")
 
 assertIsIterable ($actual, $message="")
 
 assertIsNotArray ($actual, $message="")
 
 assertIsNotBool ($actual, $message="")
 
 assertIsNotCallable ($actual, $message="")
 
 assertIsNotClosedResource ($actual, $message="")
 
 assertIsNotFloat ($actual, $message="")
 
 assertIsNotInt ($actual, $message="")
 
 assertIsNotIterable ($actual, $message="")
 
 assertIsNotNumeric ($actual, $message="")
 
 assertIsNotObject ($actual, $message="")
 
 assertIsNotReadable ($filename, $message="")
 
 assertIsNotResource ($actual, $message="")
 
 assertIsNotScalar ($actual, $message="")
 
 assertIsNotString ($actual, $message="")
 
 assertIsNotWritable ($filename, $message="")
 
 assertIsNumeric ($actual, $message="")
 
 assertIsObject ($actual, $message="")
 
 assertIsReadable ($filename, $message="")
 
 assertIsResource ($actual, $message="")
 
 assertIsScalar ($actual, $message="")
 
 assertIsString ($actual, $message="")
 
 assertIsWritable ($filename, $message="")
 
 assertJson ($actualJson, $message="")
 
 assertJsonFileEqualsJsonFile ($expectedFile, $actualFile, $message="")
 
 assertJsonFileNotEqualsJsonFile ($expectedFile, $actualFile, $message="")
 
 assertJsonStringEqualsJsonFile ($expectedFile, $actualJson, $message="")
 
 assertJsonStringEqualsJsonString ($expectedJson, $actualJson, $message="")
 
 assertJsonStringNotEqualsJsonFile ($expectedFile, $actualJson, $message="")
 
 assertJsonStringNotEqualsJsonString ($expectedJson, $actualJson, $message="")
 
 assertLessThan ($expected, $actual, $message="")
 
 assertLessThanOrEqual ($expected, $actual, $message="")
 
 assertMatchesRegularExpression ($pattern, $string, $message="")
 
 assertNan ($actual, $message="")
 
 assertNotContains ($needle, $haystack, $message="")
 
 assertNotContainsEquals ($needle, $haystack, $message="")
 
 assertNotContainsOnly ($type, $haystack, $isNativeType=NULL, $message="")
 
 assertNotCount ($expectedCount, $haystack, $message="")
 
 assertNotEmpty ($actual, $message="")
 
 assertNotEquals ($expected, $actual, $message="")
 
 assertNotEqualsCanonicalizing ($expected, $actual, $message="")
 
 assertNotEqualsIgnoringCase ($expected, $actual, $message="")
 
 assertNotEqualsWithDelta ($expected, $actual, $delta, $message="")
 
 assertNotFalse ($condition, $message="")
 
 assertNotInstanceOf ($expected, $actual, $message="")
 
 assertNotNull ($actual, $message="")
 
 assertNotSame ($expected, $actual, $message="")
 
 assertNotSameSize ($expected, $actual, $message="")
 
 assertNotTrue ($condition, $message="")
 
 assertNull ($actual, $message="")
 
 assertObjectHasAttribute ($attributeName, $object, $message="")
 
 assertObjectNotHasAttribute ($attributeName, $object, $message="")
 
 assertSame ($expected, $actual, $message="")
 
 assertSameSize ($expected, $actual, $message="")
 
 assertStringContainsString ($needle, $haystack, $message="")
 
 assertStringContainsStringIgnoringCase ($needle, $haystack, $message="")
 
 assertStringEndsNotWith ($suffix, $string, $message="")
 
 assertStringEndsWith ($suffix, $string, $message="")
 
 assertStringEqualsFile ($expectedFile, $actualString, $message="")
 
 assertStringEqualsFileCanonicalizing ($expectedFile, $actualString, $message="")
 
 assertStringEqualsFileIgnoringCase ($expectedFile, $actualString, $message="")
 
 assertStringMatchesFormat ($format, $string, $message="")
 
 assertStringMatchesFormatFile ($formatFile, $string, $message="")
 
 assertStringNotContainsString ($needle, $haystack, $message="")
 
 assertStringNotContainsStringIgnoringCase ($needle, $haystack, $message="")
 
 assertStringNotEqualsFile ($expectedFile, $actualString, $message="")
 
 assertStringNotEqualsFileCanonicalizing ($expectedFile, $actualString, $message="")
 
 assertStringNotEqualsFileIgnoringCase ($expectedFile, $actualString, $message="")
 
 assertStringNotMatchesFormat ($format, $string, $message="")
 
 assertStringNotMatchesFormatFile ($formatFile, $string, $message="")
 
 assertStringStartsNotWith ($prefix, $string, $message="")
 
 assertStringStartsWith ($prefix, $string, $message="")
 
 assertThat ($value, $constraint, $message="")
 
 assertTrue ($condition, $message="")
 
 assertXmlFileEqualsXmlFile ($expectedFile, $actualFile, $message="")
 
 assertXmlFileNotEqualsXmlFile ($expectedFile, $actualFile, $message="")
 
 assertXmlStringEqualsXmlFile ($expectedFile, $actualXml, $message="")
 
 assertXmlStringEqualsXmlString ($expectedXml, $actualXml, $message="")
 
 assertXmlStringNotEqualsXmlFile ($expectedFile, $actualXml, $message="")
 
 assertXmlStringNotEqualsXmlString ($expectedXml, $actualXml, $message="")
 
 fail ($message="")
 
 markTestIncomplete ($message="")
 
 markTestSkipped ($message="")
 
 getCredentialsForTestAutor ()
 
 getCredentialsForTestDozent ()
 
 getCredentialsForTestAdmin ()
 
 getCredentialsForRoot ()
 
 withPHPLib ($credentials, $function)
 
 createApp ($credentials, $method, $pattern, $callable, $name=NULL)
 
 createRequestBuilder ($credentials=NULL)
 
 sendMockRequest ($app,\Slim\Psr7\Request $request)
 
 storeJsonMD (string $filename,\Psr\Http\Message\ResponseInterface $response,?int $limit=NULL,?string $ellipsis=NULL)
 

Variables

trait FunctionalTesterActions
 
trait JsonapiTesterActions
 
trait UnitTesterActions
 

Function Documentation

assertArrayHasKey (   $key,
  $array,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that an array has a specified key.

Parameters
int | string$key
array | ArrayAccess$array
string$message
See Also
assertArrayHasKey()
assertArrayNotHasKey (   $key,
  $array,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that an array does not have a specified key.

Parameters
int | string$key
array | ArrayAccess$array
string$message
See Also
assertArrayNotHasKey()
assertClassHasAttribute (   $attributeName,
  $className,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a class has a specified attribute.

Parameters
string$attributeName
string$className
string$message
See Also
assertClassHasAttribute()
assertClassHasStaticAttribute (   $attributeName,
  $className,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a class has a specified static attribute.

Parameters
string$attributeName
string$className
string$message
See Also
assertClassHasStaticAttribute()
assertClassNotHasAttribute (   $attributeName,
  $className,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a class does not have a specified attribute.

Parameters
string$attributeName
string$className
string$message
See Also
assertClassNotHasAttribute()
assertClassNotHasStaticAttribute (   $attributeName,
  $className,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a class does not have a specified static attribute.

Parameters
string$attributeName
string$className
string$message
See Also
assertClassNotHasStaticAttribute()
assertContains (   $needle,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a haystack contains a needle.

Parameters
$needle
$haystack
string$message
See Also
assertContains()
assertContainsEquals (   $needle,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Parameters
$needle
$haystack
string$message
See Also
assertContainsEquals()
assertContainsOnly (   $type,
  $haystack,
  $isNativeType = NULL,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a haystack contains only values of a given type.

Parameters
string$type
$haystack
bool | null$isNativeType
string$message
See Also
assertContainsOnly()
assertContainsOnlyInstancesOf (   $className,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a haystack contains only instances of a given class name.

Parameters
string$className
$haystack
string$message
See Also
assertContainsOnlyInstancesOf()
assertCount (   $expectedCount,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts the number of elements of an array, Countable or Traversable.

Parameters
int$expectedCount
Countable | iterable$haystack
string$message
See Also
assertCount()
assertDirectoryDoesNotExist (   $directory,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a directory does not exist.

Parameters
string$directory
string$message
See Also
assertDirectoryDoesNotExist()
assertDirectoryExists (   $directory,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a directory exists.

Parameters
string$directory
string$message
See Also
assertDirectoryExists()
assertDirectoryIsNotReadable (   $directory,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a directory exists and is not readable.

Parameters
string$directory
string$message
See Also
assertDirectoryIsNotReadable()
assertDirectoryIsNotWritable (   $directory,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a directory exists and is not writable.

Parameters
string$directory
string$message
See Also
assertDirectoryIsNotWritable()
assertDirectoryIsReadable (   $directory,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a directory exists and is readable.

Parameters
string$directory
string$message
See Also
assertDirectoryIsReadable()
assertDirectoryIsWritable (   $directory,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a directory exists and is writable.

Parameters
string$directory
string$message
See Also
assertDirectoryIsWritable()
assertDoesNotMatchRegularExpression (   $pattern,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string does not match a given regular expression.

Parameters
string$pattern
string$string
string$message
See Also
assertDoesNotMatchRegularExpression()
assertEmpty (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is empty.

Parameters
$actual
string$message
See Also
assertEmpty()
assertEquals (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables are equal.

Parameters
$expected
$actual
string$message
See Also
assertEquals()
assertEqualsCanonicalizing (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables are equal (canonicalizing).

Parameters
$expected
$actual
string$message
See Also
assertEqualsCanonicalizing()
assertEqualsIgnoringCase (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables are equal (ignoring case).

Parameters
$expected
$actual
string$message
See Also
assertEqualsIgnoringCase()
assertEqualsWithDelta (   $expected,
  $actual,
  $delta,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables are equal (with delta).

Parameters
$expected
$actual
float$delta
string$message
See Also
assertEqualsWithDelta()
assertFalse (   $condition,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a condition is false.

Parameters
$condition
string$message
See Also
assertFalse()
assertFileDoesNotExist (   $filename,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file does not exist.

Parameters
string$filename
string$message
See Also
assertFileDoesNotExist()
assertFileEquals (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of one file is equal to the contents of another file.

Parameters
string$expected
string$actual
string$message
See Also
assertFileEquals()
assertFileEqualsCanonicalizing (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of one file is equal to the contents of another file (canonicalizing).

Parameters
$expected
$actual
string$message
See Also
assertFileEqualsCanonicalizing()
assertFileEqualsIgnoringCase (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of one file is equal to the contents of another file (ignoring case).

Parameters
$expected
$actual
string$message
See Also
assertFileEqualsIgnoringCase()
assertFileExists (   $filename,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file exists.

Parameters
string$filename
string$message
See Also
assertFileExists()
assertFileIsNotReadable (   $file,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file exists and is not readable.

Parameters
string$file
string$message
See Also
assertFileIsNotReadable()
assertFileIsNotWritable (   $file,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file exists and is not writable.

Parameters
string$file
string$message
See Also
assertFileIsNotWritable()
assertFileIsReadable (   $file,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file exists and is readable.

Parameters
string$file
string$message
See Also
assertFileIsReadable()
assertFileIsWritable (   $file,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file exists and is writable.

Parameters
string$file
string$message
See Also
assertFileIsWritable()
assertFileNotEquals (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of one file is not equal to the contents of another file.

Parameters
$expected
$actual
string$message
See Also
assertFileNotEquals()
assertFileNotEqualsCanonicalizing (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of one file is not equal to the contents of another file (canonicalizing).

Parameters
$expected
$actual
string$message
See Also
assertFileNotEqualsCanonicalizing()
assertFileNotEqualsIgnoringCase (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of one file is not equal to the contents of another file (ignoring case).

Parameters
$expected
$actual
string$message
See Also
assertFileNotEqualsIgnoringCase()
assertFileNotExists (   $filename,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file does not exist.

Parameters
string$filename
string$message
See Also
assertFileNotExists()
assertFinite (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is finite.

Parameters
$actual
string$message
See Also
assertFinite()
assertGreaterOrEquals (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a value is greater than or equal to another value.

Parameters
$expected
$actual
string$message
See Also
assertGreaterOrEquals()
assertGreaterThan (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a value is greater than another value.

Parameters
$expected
$actual
string$message
See Also
assertGreaterThan()
assertGreaterThanOrEqual (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a value is greater than or equal to another value.

Parameters
$expected
$actual
string$message
See Also
assertGreaterThanOrEqual()
assertInfinite (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is infinite.

Parameters
$actual
string$message
See Also
assertInfinite()
assertInstanceOf (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of a given type.

Parameters
$expected
$actual
string$message
See Also
assertInstanceOf()
assertIsArray (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type array.

Parameters
$actual
string$message
See Also
assertIsArray()
assertIsBool (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type bool.

Parameters
$actual
string$message
See Also
assertIsBool()
assertIsCallable (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type callable.

Parameters
$actual
string$message
See Also
assertIsCallable()
assertIsClosedResource (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type resource and is closed.

Parameters
$actual
string$message
See Also
assertIsClosedResource()
assertIsEmpty (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is empty.

Parameters
$actual
string$message
See Also
assertIsEmpty()
assertIsFloat (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type float.

Parameters
$actual
string$message
See Also
assertIsFloat()
assertIsInt (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type int.

Parameters
$actual
string$message
See Also
assertIsInt()
assertIsIterable (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type iterable.

Parameters
$actual
string$message
See Also
assertIsIterable()
assertIsNotArray (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type array.

Parameters
$actual
string$message
See Also
assertIsNotArray()
assertIsNotBool (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type bool.

Parameters
$actual
string$message
See Also
assertIsNotBool()
assertIsNotCallable (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type callable.

Parameters
$actual
string$message
See Also
assertIsNotCallable()
assertIsNotClosedResource (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type resource.

Parameters
$actual
string$message
See Also
assertIsNotClosedResource()
assertIsNotFloat (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type float.

Parameters
$actual
string$message
See Also
assertIsNotFloat()
assertIsNotInt (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type int.

Parameters
$actual
string$message
See Also
assertIsNotInt()
assertIsNotIterable (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type iterable.

Parameters
$actual
string$message
See Also
assertIsNotIterable()
assertIsNotNumeric (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type numeric.

Parameters
$actual
string$message
See Also
assertIsNotNumeric()
assertIsNotObject (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type object.

Parameters
$actual
string$message
See Also
assertIsNotObject()
assertIsNotReadable (   $filename,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file/dir exists and is not readable.

Parameters
string$filename
string$message
See Also
assertIsNotReadable()
assertIsNotResource (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type resource.

Parameters
$actual
string$message
See Also
assertIsNotResource()
assertIsNotScalar (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type scalar.

Parameters
$actual
string$message
See Also
assertIsNotScalar()
assertIsNotString (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of type string.

Parameters
$actual
string$message
See Also
assertIsNotString()
assertIsNotWritable (   $filename,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file/dir exists and is not writable.

Parameters
$filename
string$message
See Also
assertIsNotWritable()
assertIsNumeric (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type numeric.

Parameters
$actual
string$message
See Also
assertIsNumeric()
assertIsObject (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type object.

Parameters
$actual
string$message
See Also
assertIsObject()
assertIsReadable (   $filename,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file/dir is readable.

Parameters
$filename
string$message
See Also
assertIsReadable()
assertIsResource (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type resource.

Parameters
$actual
string$message
See Also
assertIsResource()
assertIsScalar (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type scalar.

Parameters
$actual
string$message
See Also
assertIsScalar()
assertIsString (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is of type string.

Parameters
$actual
string$message
See Also
assertIsString()
assertIsWritable (   $filename,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a file/dir exists and is writable.

Parameters
$filename
string$message
See Also
assertIsWritable()
assertJson (   $actualJson,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string is a valid JSON string.

Parameters
string$actualJson
string$message
See Also
assertJson()
assertJsonFileEqualsJsonFile (   $expectedFile,
  $actualFile,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two JSON files are equal.

Parameters
string$expectedFile
string$actualFile
string$message
See Also
assertJsonFileEqualsJsonFile()
assertJsonFileNotEqualsJsonFile (   $expectedFile,
  $actualFile,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two JSON files are not equal.

Parameters
string$expectedFile
string$actualFile
string$message
See Also
assertJsonFileNotEqualsJsonFile()
assertJsonStringEqualsJsonFile (   $expectedFile,
  $actualJson,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the generated JSON encoded object and the content of the given file are equal.

Parameters
string$expectedFile
string$actualJson
string$message
See Also
assertJsonStringEqualsJsonFile()
assertJsonStringEqualsJsonString (   $expectedJson,
  $actualJson,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two given JSON encoded objects or arrays are equal.

Parameters
string$expectedJson
string$actualJson
string$message
See Also
assertJsonStringEqualsJsonString()
assertJsonStringNotEqualsJsonFile (   $expectedFile,
  $actualJson,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the generated JSON encoded object and the content of the given file are not equal.

Parameters
string$expectedFile
string$actualJson
string$message
See Also
assertJsonStringNotEqualsJsonFile()
assertJsonStringNotEqualsJsonString (   $expectedJson,
  $actualJson,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two given JSON encoded objects or arrays are not equal.

Parameters
string$expectedJson
string$actualJson
string$message
See Also
assertJsonStringNotEqualsJsonString()
assertLessOrEquals (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a value is smaller than or equal to another value.

Parameters
$expected
$actual
string$message
See Also
assertLessOrEquals()
assertLessThan (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a value is smaller than another value.

Parameters
$expected
$actual
string$message
See Also
assertLessThan()
assertLessThanOrEqual (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a value is smaller than or equal to another value.

Parameters
$expected
$actual
string$message
See Also
assertLessThanOrEqual()
assertMatchesRegularExpression (   $pattern,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string matches a given regular expression.

Parameters
string$pattern
string$string
string$message
See Also
assertMatchesRegularExpression()
assertNan (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is nan.

Parameters
$actual
string$message
See Also
assertNan()
assertNotContains (   $needle,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a haystack does not contain a needle.

Parameters
$needle
$haystack
string$message
See Also
assertNotContains()
assertNotContainsEquals (   $needle,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

See Also
assertNotContainsEquals()
assertNotContainsOnly (   $type,
  $haystack,
  $isNativeType = NULL,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a haystack does not contain only values of a given type.

Parameters
string$type
$haystack
bool | null$isNativeType
string$message
See Also
assertNotContainsOnly()
assertNotCount (   $expectedCount,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts the number of elements of an array, Countable or Traversable.

Parameters
int$expectedCount
Countable | iterable$haystack
string$message
See Also
assertNotCount()
assertNotEmpty (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not empty.

Parameters
$actual
string$message
See Also
assertNotEmpty()
assertNotEquals (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables are not equal.

Parameters
$expected
$actual
string$message
See Also
assertNotEquals()
assertNotEqualsCanonicalizing (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables are not equal (canonicalizing).

Parameters
$expected
$actual
string$message
See Also
assertNotEqualsCanonicalizing()
assertNotEqualsIgnoringCase (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables are not equal (ignoring case).

Parameters
$expected
$actual
string$message
See Also
assertNotEqualsIgnoringCase()
assertNotEqualsWithDelta (   $expected,
  $actual,
  $delta,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables are not equal (with delta).

Parameters
$expected
$actual
float$delta
string$message
See Also
assertNotEqualsWithDelta()
assertNotFalse (   $condition,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a condition is not false.

Parameters
$condition
string$message
See Also
assertNotFalse()
assertNotInstanceOf (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not of a given type.

Parameters
$expected
$actual
string$message
See Also
assertNotInstanceOf()
assertNotNull (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is not null.

Parameters
$actual
string$message
See Also
assertNotNull()
assertNotRegExp (   $pattern,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string does not match a given regular expression.

Parameters
string$pattern
string$string
string$message
See Also
assertNotRegExp()
assertNotSame (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables do not have the same type and value.

Parameters
$expected
$actual
string$message
See Also
assertNotSame()
assertNotSameSize (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Assert that the size of two arrays (or Countable or Traversable objects) is not the same.

Parameters
Countable | iterable$expected
Countable | iterable$actual
string$message
See Also
assertNotSameSize()
assertNotTrue (   $condition,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a condition is not true.

Parameters
$condition
string$message
See Also
assertNotTrue()
assertNull (   $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a variable is null.

Parameters
$actual
string$message
See Also
assertNull()
assertObjectHasAttribute (   $attributeName,
  $object,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that an object has a specified attribute.

Parameters
string$attributeName
object$object
string$message
See Also
assertObjectHasAttribute()
assertObjectNotHasAttribute (   $attributeName,
  $object,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that an object does not have a specified attribute.

Parameters
string$attributeName
object$object
string$message
See Also
assertObjectNotHasAttribute()
assertRegExp (   $pattern,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string matches a given regular expression.

Parameters
string$pattern
string$string
string$message
See Also
assertRegExp()
assertSame (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two variables have the same type and value.

Parameters
$expected
$actual
string$message
See Also
assertSame()
assertSameSize (   $expected,
  $actual,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Assert that the size of two arrays (or Countable or Traversable objects) is the same.

Parameters
Countable | iterable$expected
Countable | iterable$actual
string$message
See Also
assertSameSize()
assertStringContainsString (   $needle,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Parameters
string$needle
string$haystack
string$message
See Also
assertStringContainsString()
assertStringContainsStringIgnoringCase (   $needle,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

See Also
assertStringContainsStringIgnoringCase()
assertStringEndsNotWith (   $suffix,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string ends not with a given suffix.

Parameters
string$suffix
string$string
string$message
See Also
assertStringEndsNotWith()
assertStringEndsWith (   $suffix,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string ends with a given suffix.

Parameters
string$suffix
string$string
string$message
See Also
assertStringEndsWith()
assertStringEqualsFile (   $expectedFile,
  $actualString,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of a string is equal to the contents of a file.

Parameters
string$expectedFile
string$actualString
string$message
See Also
assertStringEqualsFile()
assertStringEqualsFileCanonicalizing (   $expectedFile,
  $actualString,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of a string is equal to the contents of a file (canonicalizing).

Parameters
string$expectedFile
string$actualString
string$message
See Also
assertStringEqualsFileCanonicalizing()
assertStringEqualsFileIgnoringCase (   $expectedFile,
  $actualString,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of a string is equal to the contents of a file (ignoring case).

Parameters
string$expectedFile
string$actualString
string$message
See Also
assertStringEqualsFileIgnoringCase()
assertStringMatchesFormat (   $format,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string matches a given format string.

Parameters
string$format
string$string
string$message
See Also
assertStringMatchesFormat()
assertStringMatchesFormatFile (   $formatFile,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string matches a given format file.

Parameters
string$formatFile
string$string
string$message
See Also
assertStringMatchesFormatFile()
assertStringNotContainsString (   $needle,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Parameters
string$needle
string$haystack
string$message
See Also
assertStringNotContainsString()
assertStringNotContainsStringIgnoringCase (   $needle,
  $haystack,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Parameters
string$needle
string$haystack
string$message
See Also
assertStringNotContainsStringIgnoringCase()
assertStringNotEqualsFile (   $expectedFile,
  $actualString,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of a string is not equal to the contents of a file.

Parameters
string$expectedFile
string$actualString
string$message
See Also
assertStringNotEqualsFile()
assertStringNotEqualsFileCanonicalizing (   $expectedFile,
  $actualString,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of a string is not equal to the contents of a file (canonicalizing).

Parameters
string$expectedFile
string$actualString
string$message
See Also
assertStringNotEqualsFileCanonicalizing()
assertStringNotEqualsFileIgnoringCase (   $expectedFile,
  $actualString,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that the contents of a string is not equal to the contents of a file (ignoring case).

Parameters
string$expectedFile
string$actualString
string$message
See Also
assertStringNotEqualsFileIgnoringCase()
assertStringNotMatchesFormat (   $format,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string does not match a given format string.

Parameters
string$format
string$string
string$message
See Also
assertStringNotMatchesFormat()
assertStringNotMatchesFormatFile (   $formatFile,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string does not match a given format string.

Parameters
string$formatFile
string$string
string$message
See Also
assertStringNotMatchesFormatFile()
assertStringStartsNotWith (   $prefix,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string starts not with a given prefix.

Parameters
string$prefix
string$string
string$message
See Also
assertStringStartsNotWith()
assertStringStartsWith (   $prefix,
  $string,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a string starts with a given prefix.

Parameters
string$prefix
string$string
string$message
See Also
assertStringStartsWith()
assertThat (   $value,
  $constraint,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Evaluates a PHPUnit matcher object.

Parameters
$value
Constraint$constraint
string$message
See Also
assertThat()
assertThatItsNot (   $value,
  $constraint,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Evaluates a PHPUnit matcher object.

Parameters
$value
Constraint$constraint
string$message
See Also
assertThatItsNot()
assertTrue (   $condition,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that a condition is true.

Parameters
$condition
string$message
See Also
assertTrue()
assertXmlFileEqualsXmlFile (   $expectedFile,
  $actualFile,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two XML files are equal.

Parameters
string$expectedFile
string$actualFile
string$message
See Also
assertXmlFileEqualsXmlFile()
assertXmlFileNotEqualsXmlFile (   $expectedFile,
  $actualFile,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two XML files are not equal.

Parameters
string$expectedFile
string$actualFile
string$message
See Also
assertXmlFileNotEqualsXmlFile()
assertXmlStringEqualsXmlFile (   $expectedFile,
  $actualXml,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two XML documents are equal.

Parameters
string$expectedFile
DOMDocument | string$actualXml
string$message
See Also
assertXmlStringEqualsXmlFile()
assertXmlStringEqualsXmlString (   $expectedXml,
  $actualXml,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two XML documents are equal.

Parameters
DOMDocument | string$expectedXml
DOMDocument | string$actualXml
string$message
See Also
assertXmlStringEqualsXmlString()
assertXmlStringNotEqualsXmlFile (   $expectedFile,
  $actualXml,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two XML documents are not equal.

Parameters
string$expectedFile
DOMDocument | string$actualXml
string$message
See Also
assertXmlStringNotEqualsXmlFile()
assertXmlStringNotEqualsXmlString (   $expectedXml,
  $actualXml,
  $message = "" 
)

[!] Method is generated. Documentation taken from corresponding module.

Asserts that two XML documents are not equal.

Parameters
DOMDocument | string$expectedXml
DOMDocument | string$actualXml
string$message
See Also
assertXmlStringNotEqualsXmlString()
_generated\createApp (   $credentials,
  $method,
  $pattern,
  $callable,
  $name = NULL 
)

[!] Method is generated. Documentation taken from corresponding module.

Parameters
array$credentials
string$method
string$pattern
callable$callable
?string$name
Returns
See Also
createApp()
_generated\createRequestBuilder (   $credentials = NULL)

[!] Method is generated. Documentation taken from corresponding module.

Parameters
array | null$credentials
Returns
JsonApiRequestBuilder
See Also
createRequestBuilder()
expectException (   $exception,
  $callback 
)

[!] Method is generated. Documentation taken from corresponding module.

Handles and checks exception called inside callback function. Either exception class name or exception instance should be provided.

```php <?php $I->expectException(MyException::class, function() { $this->doSomethingBad(); });

$I->expectException(new MyException(), function() { $this->doSomethingBad(); }); ``` If you want to check message or exception code, you can pass them with exception instance: ```php <?php // will check that exception MyException is thrown with "Don't do bad things" message $I->expectException(new MyException("Don't do bad things"), function() { $this->doSomethingBad(); }); ```

Parameters
\Exception | string$exception
callable$callback
See Also
expectException()

[!] Method is generated. Documentation taken from corresponding module.

Handles and checks exception called inside callback function. Either exception class name or exception instance should be provided.

```php <?php $I->expectException(MyException::class, function() { $this->doSomethingBad(); });

$I->expectException(new MyException(), function() { $this->doSomethingBad(); }); ``` If you want to check message or exception code, you can pass them with exception instance: ```php <?php // will check that exception MyException is thrown with "Don't do bad things" message $I->expectException(new MyException("Don't do bad things"), function() { $this->doSomethingBad(); }); ```

Parameters
\Exception | string$exception
callable$callback
See Also
expectException()
expectThrowable (   $throwable,
  $callback 
)

[!] Method is generated. Documentation taken from corresponding module.

Handles and checks throwables (Exceptions/Errors) called inside the callback function. Either throwable class name or throwable instance should be provided.

```php <?php $I->expectThrowable(MyThrowable::class, function() { $this->doSomethingBad(); });

$I->expectThrowable(new MyException(), function() { $this->doSomethingBad(); }); ``` If you want to check message or throwable code, you can pass them with throwable instance: ```php <?php // will check that throwable MyError is thrown with "Don't do bad things" message $I->expectThrowable(new MyError("Don't do bad things"), function() { $this->doSomethingBad(); }); ```

Parameters
\Throwable | string$throwable
callable$callback
See Also
expectThrowable()
fail (   $message = "")

[!] Method is generated. Documentation taken from corresponding module.

Fails a test with the given message.

Parameters
string$message
See Also
fail()
_generated\getCredentialsForRoot ( )

[!] Method is generated. Documentation taken from corresponding module.

See Also
getCredentialsForRoot()
_generated\getCredentialsForTestAdmin ( )

[!] Method is generated. Documentation taken from corresponding module.

See Also
getCredentialsForTestAdmin()
_generated\getCredentialsForTestAutor ( )

[!] Method is generated. Documentation taken from corresponding module.

See Also
getCredentialsForTestAutor()
_generated\getCredentialsForTestDozent ( )

[!] Method is generated. Documentation taken from corresponding module.

See Also
getCredentialsForTestDozent()
markTestIncomplete (   $message = "")

[!] Method is generated. Documentation taken from corresponding module.

Mark the test as incomplete.

Parameters
string$message
See Also
markTestIncomplete()
markTestSkipped (   $message = "")

[!] Method is generated. Documentation taken from corresponding module.

Mark the test as skipped.

Parameters
string$message
See Also
markTestSkipped()
_generated\sendMockRequest (   $app,
\Slim\Psr7\Request  $request 
)

[!] Method is generated. Documentation taken from corresponding module.

Parameters
\Slim\App$app
Returns
JsonApiResponse
See Also
sendMockRequest()
_generated\storeJsonMD ( string  $filename,
\Psr\Http\Message\ResponseInterface  $response,
?int  $limit = NULL,
?string  $ellipsis = NULL 
)

[!] Method is generated. Documentation taken from corresponding module.

See Also
storeJsonMD()
_generated\withPHPLib (   $credentials,
  $function 
)

[!] Method is generated. Documentation taken from corresponding module.

Parameters
array$credentials
callable$function
Returns
mixed

(PHPMD.Superglobals)

See Also
withPHPLib()

Variable Documentation

trait FunctionalTesterActions
Initial value:
{
abstract protected function getScenario()
trait JsonapiTesterActions
Initial value:
{
abstract protected function getScenario()
trait UnitTesterActions
Initial value:
{
abstract protected function getScenario()