def output_dto_list(
         self, order_service: OrderService) -> List[OrderOutputDTO]:
     return order_service.get_order_list(page_size=10, page=1)
 def output_dto(
         self,
         order_service: OrderService) -> Optional[OrderOutputDTO]:
     return order_service.get_order_by_id(123)
 def order_output_dto(
         self, order_service: OrderService,
         order_input: OrderInputDTO) -> Optional[OrderOutputDTO]:
     order_input.retailer_document = ALLOWED_DOCUMENT_LIST[0]
     return order_service.insert_order(order_input)
 def order_output_dto(
         self, order_service: OrderService,
         order_input: OrderInputDTO) -> Optional[OrderOutputDTO]:
     return order_service.insert_order(order_input)
 def order_service(self, config: Config, logger: Logger,
                   order_repository: OrderRepository) -> OrderService:
     return OrderService(config, logger, order_repository)
 def test_update_order(self, order_service: OrderService) -> None:
     order_service.update_order(OrderInputDTOFactory())
 def test_delete_order(self, order_service: OrderService) -> None:
     order_service.delete_order(123)