public function createEntity($entity, TableNode $fields) {
    $this->models->get($entity)->store($fields->getRowsHash());
  }
public function createEntity($entity, TableNode $fields) {
    $this->models->get($entity)->store($fields->getRowsHash());
  }
public function createEntity ( $ entity , TableNode $ fields ) { $ this -> models -> get ( $ entity ) -> store ( $ fields -> getRowsHash ( ) ) ; }
Creates an entity with specified fields

@Given there is a/an :entity entity with:
Creates an entity with specified fields