public function getScalarRepresentationOf(TableElement $table)
 {
     /* @var $table \lukaszmakuch\TableRenderer\Container */
     return ["type" => $this->typeAsText, "value" => array_map(function (TableElement $e) {
         return $this->actualRenderer->getScalarRepresentationOf($e);
     }, $table->getElements())];
 }
 private function assertEqualScalarRepresentation(TableElement $model, $scalarRepresentation)
 {
     $this->assertEquals($this->renderer->getScalarRepresentationOf($model), $scalarRepresentation);
 }