isBrowsingSubscription,
selector,
noLocal,
isSynchronousNonDefault);
CreateConsumerCommand createConsumerCommand = consumerConfig.createCommand(sessionName);
assertEquals(sessionName, createConsumerCommand.getSessionName());
assertEquals(consumerName, createConsumerCommand.getParticipantName());
assertEquals(destinationName, createConsumerCommand.getDestinationName());
assertEquals(numberOfMessages, createConsumerCommand.getNumberOfMessages());
assertEquals(batchSize, createConsumerCommand.getBatchSize());
assertEquals(maximumDuration, createConsumerCommand.getMaximumDuration());
assertEquals(isTopic, createConsumerCommand.isTopic());
assertEquals(isDurableSubscription, createConsumerCommand.isDurableSubscription());
assertEquals(isBrowsingSubscription, createConsumerCommand.isBrowsingSubscription());
assertEquals(selector, createConsumerCommand.getSelector());
assertEquals(noLocal, createConsumerCommand.isNoLocal());
assertEquals(isSynchronousNonDefault, createConsumerCommand.isSynchronous());
}