new TestXmlConfigurationBuilder(doc);
// Add the digester parsing rules for the MPS plugin.
configBuilder.addApplicationPluginRuleSet(new MpsPluginRuleSet());
MarinerConfiguration config = configBuilder.buildConfiguration();
assertNotNull(config);
MpsPluginConfiguration mpsPlugin = (MpsPluginConfiguration)
config.getApplicationPlugin("MPS");
if (mpsValue != null) {
assertNotNull("mps", mpsPlugin);
assertEquals(mpsValue.internalBaseUrl,
mpsPlugin.getInternalBaseUrl());
assertEquals(mpsValue.messageRecipientInfo,
mpsPlugin.getMessageRecipientInfo());
Iterator channels = mpsPlugin.getChannelsIterator();
if (channelValues != null) {
assertNotNull("channels", channels);
assertTrue(channels.hasNext());
for (int i = 0; i < channelValues.length; i++) {
MpsChannelConfiguration channel =