PHP Class Elcodi\Component\Tax\Tests\UnitTest\Entity\TaxTest

Inheritance: extends Elcodi\Component\Core\Tests\UnitTest\Entity\AbstractEntityTest
Show file Open project: elcodi/elcodi

Public Methods

Method Description
getEntityNamespace ( ) : string Return the entity namespace.
getTestableFields ( ) : array Return the fields to test in entities.
testToString ( ) Test the string casting.

Method Details

getEntityNamespace() public method

Return the entity namespace.
public getEntityNamespace ( ) : string
return string Entity namespace

getTestableFields() public method

[ [[ "type" => $this::GETTER_SETTER, "getter" => "getValue", "setter" => "setValue", "value" => "Elcodi\Component\...\Interfaces\AnInterface" "nullable" => true ]], [[ "type" => $this::ADDER_REMOVER|$this::ADDER_REMOVER, "getter" => "getValue", "setter" => "setValue", "adder" => "addValue", "removed" => "removeValue", "bag" => "collection", // can be array "value" => "Elcodi\Component\...\Interfaces\AnInterface" ]] ]
public getTestableFields ( ) : array
return array Fields

testToString() public method

Test the string casting.
public testToString ( )