PHP Class ProtobufTest\TestCase

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: protobuf-php/protobuf Class Usage Examples

Protected Properties

Property Type Description
$config Protobuf\Configuration

Protected Methods

Method Description
getPropertyValue ( object $object, string $property ) : mixed
getProtoContent ( string $name ) : string
invokeMethod ( object $object, string $method, array $args = [] ) : mixed
setPropertyValue ( object $object, string $property, mixed $value )
setUp ( )

Method Details

getPropertyValue() protected method

protected getPropertyValue ( object $object, string $property ) : mixed
$object object
$property string
return mixed

getProtoContent() protected method

protected getProtoContent ( string $name ) : string
$name string
return string

invokeMethod() protected method

protected invokeMethod ( object $object, string $method, array $args = [] ) : mixed
$object object
$method string
$args array
return mixed

setPropertyValue() protected method

protected setPropertyValue ( object $object, string $property, mixed $value )
$object object
$property string
$value mixed

setUp() protected method

protected setUp ( )

Property Details

$config protected property

protected Configuration,Protobuf $config
return Protobuf\Configuration