MarcCslVariablesTest
extends TestCase
in package
Test the MarcCslVariables class.
Tags
Table of Contents
- testGetAll() : mixed
- Test the getAll method.
- testGetAuthor() : mixed
- Test the getAuthor method.
- testGetOriginalPublisher() : mixed
- Test the getOriginalPublisher method.
- testGetPublisher() : mixed
- Test the getPublisher method.
- testGetTitle() : mixed
- Test the getTitle method.
- testJsonSerialize() : mixed
- testTypeProperty() : mixed
- Test the type property.
- assertGetAll() : void
- Helper function for testGetAll.
Methods
testGetAll()
Test the getAll method.
public
testGetAll() : mixed
Return values
mixed —testGetAuthor()
Test the getAuthor method.
public
testGetAuthor() : mixed
Return values
mixed —testGetOriginalPublisher()
Test the getOriginalPublisher method.
public
testGetOriginalPublisher() : mixed
Return values
mixed —testGetPublisher()
Test the getPublisher method.
public
testGetPublisher() : mixed
Return values
mixed —testGetTitle()
Test the getTitle method.
public
testGetTitle() : mixed
Return values
mixed —testJsonSerialize()
public
testJsonSerialize() : mixed
Return values
mixed —testTypeProperty()
Test the type property.
public
testTypeProperty() : mixed
Return values
mixed —assertGetAll()
Helper function for testGetAll.
private
assertGetAll(string $xml, array<string|int, mixed> $expected, string $message) : void
Parameters
- $xml : string
-
The XML data to parse.
- $expected : array<string|int, mixed>
-
The expected result.
- $message : string
-
The assertion message.