private function whenIGetTheFieldsOf($actionClass) { $representer = new GenericActionRepresenter($actionClass, $this->factory); $this->fields = $representer->getFields($representer->create()); }