eZ\Publish\Core\REST\Common\Tests\Output\Generator\XmlTest::testSerializeBool PHP Method

testSerializeBool() public method

public testSerializeBool ( )
    public function testSerializeBool()
    {
        $generator = $this->getGenerator();
        $this->assertTrue($generator->serializeBool(true) === 'true');
        $this->assertTrue($generator->serializeBool(false) === 'false');
        $this->assertTrue($generator->serializeBool('notbooleanbuttrue') === 'true');
    }