PHP Класс PhpBench\Tests\Unit\Serializer\XmlDecoderTest

Наследование: extends XmlTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
testDecodeUnknownResultClass ( ) It should throw an exception when encountering a non-existing result class.
testDecodeUnknownResultKey ( ) It should throw an exception for a non-existing result key.
testDecoder ( array $params, $expected ) It should encode the suite to an XML document.
testInvalidAttribute ( ) It should throw an exception if an attribute name has no - prefix.

Приватные методы

Метод Описание
encode ( SuiteCollection $collection )

Описание методов

testDecodeUnknownResultClass() публичный Метод

It should throw an exception when encountering a non-existing result class.

testDecodeUnknownResultKey() публичный Метод

It should throw an exception for a non-existing result key.

testDecoder() публичный Метод

It should encode the suite to an XML document.
public testDecoder ( array $params, $expected )
$params array

testInvalidAttribute() публичный Метод

It should throw an exception if an attribute name has no - prefix.