### Question:
ReceivedPaidFeeCommandHandler { @CommandHandler public void handleCreatePaid(CreatePaidFeeCommand command) { paidFeeRepository.add(new PaidFee( command.getFeeId(), command.getFeeStatus(), command.getAmount(), command.getFeeType(), command.getDueDate(), command.getCreatedTime(), command.getPortfolioId(), command.getUserId(), command.getBusinessType(), command.getBusinessReferenceId(), command.getPaidMode() )); }  @CommandHandler void handleCreateReceived(CreateReceivedFeeCommand command); @CommandHandler void handleConfirmReceived(ConfirmReceivedFeeCommand command); @CommandHandler void handleOffsetReceived(OffsetReceivedFeeCommand command); @CommandHandler void handleCancelReceived(CancelReceivedFeeCommand command); @CommandHandler void handleCreatePaid(CreatePaidFeeCommand command); @CommandHandler void handleConfirmPaid(ConfirmPaidFeeCommand command); @CommandHandler void handleOffsetPaid(OffsetPaidFeeCommand command); @CommandHandler void handleCancelPaid(CancelPaidFeeCommand command); @Resource(name = "receivedFeeRepository") void setReceivedFeeRepository(Repository<ReceivedFee> receivedFeeRepository); @Resource(name = "paidFeeRepository") void setPaidFeeRepository(Repository<PaidFee> paidFeeRepository);  }### Answer:
@Test public void testHandleCreatePaid() throws Exception { CreatePaidFeeCommand command = new CreatePaidFeeCommand( feeTransactionId, paidFeeId, FeeStatus.PENDING, sellCommissionAmount, FeeType.PAY_COIN, BusinessType.TRADE_EXECUTED, tradeTime, dueDate, portfolioId.toString(), userId.toString(), orderTransactionId.toString(), PaidMode.INTERNAL); paidFixture.given() .when(command) .expectEvents( new PaidFeeCreatedEvent( paidFeeId, FeeStatus.PENDING, sellCommissionAmount, FeeType.PAY_COIN, tradeTime, dueDate, portfolioId.toString(), userId.toString(), BusinessType.TRADE_EXECUTED, orderTransactionId.toString(), PaidMode.INTERNAL)); }