GetPeriodicMeterReadsCommandExecutor extends AbstractPeriodicMeterReadsCommandExecutor<PeriodicMeterReadsRequestDto, PeriodicMeterReadsResponseDto> { @Override public PeriodicMeterReadsRequestDto fromBundleRequestInput(final ActionRequestDto bundleInput) throws ProtocolAdapterException { this.checkActionRequestType(bundleInput); final PeriodicMeterReadsRequestDataDto periodicMeterReadsRequestDataDto = (PeriodicMeterReadsRequestDataDto) bundleInput; return new PeriodicMeterReadsRequestDto(periodicMeterReadsRequestDataDto.getPeriodType(), periodicMeterReadsRequestDataDto.getBeginDate(), periodicMeterReadsRequestDataDto.getEndDate()); } @Autowired  GetPeriodicMeterReadsCommandExecutor(final DlmsHelper dlmsHelper,
            final AmrProfileStatusCodeHelper amrProfileStatusCodeHelper,
            final DlmsObjectConfigService dlmsObjectConfigService); @Override PeriodicMeterReadsRequestDto fromBundleRequestInput(final ActionRequestDto bundleInput); @Override PeriodicMeterReadsResponseDto execute(final DlmsConnectionManager conn, final DlmsDevice device,
            final PeriodicMeterReadsRequestDto periodicMeterReadsQuery);  }
@Test public void testBundle() throws ProtocolAdapterException { final PeriodicMeterReadsRequestDataDto request = new PeriodicMeterReadsRequestDataDto(PeriodTypeDto.DAILY, new Date(this.from), new Date(this.to)); this.executor.fromBundleRequestInput(request); }