Elcodi\Component\Tax\Tests\UnitTest\Entity\TaxTest::getTestableFields PHP Method

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
    public function getTestableFields()
    {
        return [[['type' => $this::GETTER_SETTER, 'getter' => 'getName', 'setter' => 'setName', 'value' => sha1(mt_rand()), 'nullable' => false]], [['type' => $this::GETTER_SETTER, 'getter' => 'getDescription', 'setter' => 'setDescription', 'value' => sha1(mt_rand()), 'nullable' => false]], [['type' => $this::GETTER_SETTER, 'getter' => 'getValue', 'setter' => 'setValue', 'value' => microtime(true), 'nullable' => false]]];
    }