001 package com.mockrunner.jms; 002 003 import java.util.List; 004 005 import javax.jms.MessageListener; 006 007 import com.mockrunner.base.BaseTestCase; 008 import com.mockrunner.mock.jms.MockConnection; 009 import com.mockrunner.mock.jms.MockMessage; 010 import com.mockrunner.mock.jms.MockQueue; 011 import com.mockrunner.mock.jms.MockQueueConnection; 012 import com.mockrunner.mock.jms.MockQueueSession; 013 import com.mockrunner.mock.jms.MockSession; 014 import com.mockrunner.mock.jms.MockTemporaryQueue; 015 import com.mockrunner.mock.jms.MockTemporaryTopic; 016 import com.mockrunner.mock.jms.MockTopic; 017 import com.mockrunner.mock.jms.MockTopicConnection; 018 import com.mockrunner.mock.jms.MockTopicSession; 019 020 /** 021 * Delegator for {@link com.mockrunner.jms.JMSTestModule}. You can 022 * subclass this adapter or use {@link com.mockrunner.jms.JMSTestModule} 023 * directly (so your test case can use another base class). 024 * This adapter extends {@link com.mockrunner.base.BaseTestCase}. 025 * It can be used if you want to use several modules in conjunction. 026 * <b>This class is generated from the {@link com.mockrunner.jms.JMSTestModule} 027 * and should not be edited directly</b>. 028 */ 029 public abstract class JMSTestCaseAdapter extends BaseTestCase 030 { 031 private JMSTestModule jmsTestModule; 032 033 public JMSTestCaseAdapter() 034 { 035 036 } 037 038 public JMSTestCaseAdapter(String name) 039 { 040 super(name); 041 } 042 043 protected void tearDown() throws Exception 044 { 045 super.tearDown(); 046 jmsTestModule = null; 047 } 048 049 /** 050 * Creates the {@link com.mockrunner.jms.JMSTestModule}. If you 051 * overwrite this method, you must call <code>super.setUp()</code>. 052 */ 053 protected void setUp() throws Exception 054 { 055 super.setUp(); 056 jmsTestModule = createJMSTestModule(getJMSMockObjectFactory()); 057 } 058 059 /** 060 * Gets the {@link com.mockrunner.jms.JMSTestModule}. 061 * @return the {@link com.mockrunner.jms.JMSTestModule} 062 */ 063 protected JMSTestModule getJMSTestModule() 064 { 065 return jmsTestModule; 066 } 067 068 /** 069 * Sets the {@link com.mockrunner.jms.JMSTestModule}. 070 * @param jmsTestModule the {@link com.mockrunner.jms.JMSTestModule} 071 */ 072 protected void setJMSTestModule(JMSTestModule jmsTestModule) 073 { 074 this.jmsTestModule = jmsTestModule; 075 } 076 077 /** 078 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getSession(int)} 079 */ 080 protected MockSession getSession(int indexOfSession) 081 { 082 return jmsTestModule.getSession(indexOfSession); 083 } 084 085 /** 086 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyConnectionClosed} 087 */ 088 protected void verifyConnectionClosed() 089 { 090 jmsTestModule.verifyConnectionClosed(); 091 } 092 093 /** 094 * Delegates to {@link com.mockrunner.jms.JMSTestModule#setCurrentQueueConnectionIndex(int)} 095 */ 096 protected void setCurrentQueueConnectionIndex(int connectionIndex) 097 { 098 jmsTestModule.setCurrentQueueConnectionIndex(connectionIndex); 099 } 100 101 /** 102 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getCurrentQueueConnection} 103 */ 104 protected MockQueueConnection getCurrentQueueConnection() 105 { 106 return jmsTestModule.getCurrentQueueConnection(); 107 } 108 109 /** 110 * Delegates to {@link com.mockrunner.jms.JMSTestModule#setCurrentTopicConnectionIndex(int)} 111 */ 112 protected void setCurrentTopicConnectionIndex(int connectionIndex) 113 { 114 jmsTestModule.setCurrentTopicConnectionIndex(connectionIndex); 115 } 116 117 /** 118 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getCurrentTopicConnection} 119 */ 120 protected MockTopicConnection getCurrentTopicConnection() 121 { 122 return jmsTestModule.getCurrentTopicConnection(); 123 } 124 125 /** 126 * Delegates to {@link com.mockrunner.jms.JMSTestModule#setCurrentConnectionIndex(int)} 127 */ 128 protected void setCurrentConnectionIndex(int connectionIndex) 129 { 130 jmsTestModule.setCurrentConnectionIndex(connectionIndex); 131 } 132 133 /** 134 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getCurrentConnection} 135 */ 136 protected MockConnection getCurrentConnection() 137 { 138 return jmsTestModule.getCurrentConnection(); 139 } 140 141 /** 142 * Delegates to {@link com.mockrunner.jms.JMSTestModule#registerTestMessageListenerForQueue(MockConnection, String, boolean, int, MessageListener)} 143 */ 144 protected void registerTestMessageListenerForQueue(MockConnection connection, String queueName, boolean transacted, int acknowledgeMode, MessageListener listener) 145 { 146 jmsTestModule.registerTestMessageListenerForQueue(connection, queueName, transacted, acknowledgeMode, listener); 147 } 148 149 /** 150 * Delegates to {@link com.mockrunner.jms.JMSTestModule#registerTestMessageListenerForQueue(MockConnection, String, boolean, int, String, MessageListener)} 151 */ 152 protected void registerTestMessageListenerForQueue(MockConnection connection, String queueName, boolean transacted, int acknowledgeMode, String messageSelector, MessageListener listener) 153 { 154 jmsTestModule.registerTestMessageListenerForQueue(connection, queueName, transacted, acknowledgeMode, messageSelector, listener); 155 } 156 157 /** 158 * Delegates to {@link com.mockrunner.jms.JMSTestModule#registerTestMessageListenerForQueue(String, MessageListener)} 159 */ 160 protected void registerTestMessageListenerForQueue(String queueName, MessageListener listener) 161 { 162 jmsTestModule.registerTestMessageListenerForQueue(queueName, listener); 163 } 164 165 /** 166 * Delegates to {@link com.mockrunner.jms.JMSTestModule#registerTestMessageListenerForQueue(MockConnection, String, MessageListener)} 167 */ 168 protected void registerTestMessageListenerForQueue(MockConnection connection, String queueName, MessageListener listener) 169 { 170 jmsTestModule.registerTestMessageListenerForQueue(connection, queueName, listener); 171 } 172 173 /** 174 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getDestinationManager} 175 */ 176 protected DestinationManager getDestinationManager() 177 { 178 return jmsTestModule.getDestinationManager(); 179 } 180 181 /** 182 * Delegates to {@link com.mockrunner.jms.JMSTestModule#registerTestMessageListenerForTopic(MockConnection, String, boolean, int, String, MessageListener)} 183 */ 184 protected void registerTestMessageListenerForTopic(MockConnection connection, String topicName, boolean transacted, int acknowledgeMode, String messageSelector, MessageListener listener) 185 { 186 jmsTestModule.registerTestMessageListenerForTopic(connection, topicName, transacted, acknowledgeMode, messageSelector, listener); 187 } 188 189 /** 190 * Delegates to {@link com.mockrunner.jms.JMSTestModule#registerTestMessageListenerForTopic(MockConnection, String, boolean, int, MessageListener)} 191 */ 192 protected void registerTestMessageListenerForTopic(MockConnection connection, String topicName, boolean transacted, int acknowledgeMode, MessageListener listener) 193 { 194 jmsTestModule.registerTestMessageListenerForTopic(connection, topicName, transacted, acknowledgeMode, listener); 195 } 196 197 /** 198 * Delegates to {@link com.mockrunner.jms.JMSTestModule#registerTestMessageListenerForTopic(String, MessageListener)} 199 */ 200 protected void registerTestMessageListenerForTopic(String topicName, MessageListener listener) 201 { 202 jmsTestModule.registerTestMessageListenerForTopic(topicName, listener); 203 } 204 205 /** 206 * Delegates to {@link com.mockrunner.jms.JMSTestModule#registerTestMessageListenerForTopic(MockConnection, String, MessageListener)} 207 */ 208 protected void registerTestMessageListenerForTopic(MockConnection connection, String topicName, MessageListener listener) 209 { 210 jmsTestModule.registerTestMessageListenerForTopic(connection, topicName, listener); 211 } 212 213 /** 214 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTopic(String)} 215 */ 216 protected MockTopic getTopic(String name) 217 { 218 return jmsTestModule.getTopic(name); 219 } 220 221 /** 222 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getConfigurationManager} 223 */ 224 protected ConfigurationManager getConfigurationManager() 225 { 226 return jmsTestModule.getConfigurationManager(); 227 } 228 229 /** 230 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getQueueMessageManager(int)} 231 */ 232 protected MessageManager getQueueMessageManager(int indexOfSession) 233 { 234 return jmsTestModule.getQueueMessageManager(indexOfSession); 235 } 236 237 /** 238 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getQueueSession(int)} 239 */ 240 protected MockQueueSession getQueueSession(int indexOfSession) 241 { 242 return jmsTestModule.getQueueSession(indexOfSession); 243 } 244 245 /** 246 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getMessageManager(int)} 247 */ 248 protected MessageManager getMessageManager(int indexOfSession) 249 { 250 return jmsTestModule.getMessageManager(indexOfSession); 251 } 252 253 /** 254 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTopicMessageManager(int)} 255 */ 256 protected MessageManager getTopicMessageManager(int indexOfSession) 257 { 258 return jmsTestModule.getTopicMessageManager(indexOfSession); 259 } 260 261 /** 262 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTopicSession(int)} 263 */ 264 protected MockTopicSession getTopicSession(int indexOfSession) 265 { 266 return jmsTestModule.getTopicSession(indexOfSession); 267 } 268 269 /** 270 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getQueueTransmissionManager(int)} 271 */ 272 protected QueueTransmissionManager getQueueTransmissionManager(int indexOfSession) 273 { 274 return jmsTestModule.getQueueTransmissionManager(indexOfSession); 275 } 276 277 /** 278 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTopicTransmissionManager(int)} 279 */ 280 protected TopicTransmissionManager getTopicTransmissionManager(int indexOfSession) 281 { 282 return jmsTestModule.getTopicTransmissionManager(indexOfSession); 283 } 284 285 /** 286 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTransmissionManager(int)} 287 * @deprecated 288 */ 289 protected TransmissionManagerWrapper getTransmissionManager(int indexOfSession) 290 { 291 return jmsTestModule.getTransmissionManager(indexOfSession); 292 } 293 294 /** 295 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTransmissionManagerWrapper(int)} 296 */ 297 protected TransmissionManagerWrapper getTransmissionManagerWrapper(int indexOfSession) 298 { 299 return jmsTestModule.getTransmissionManagerWrapper(indexOfSession); 300 } 301 302 /** 303 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getQueueTransmissionManagerWrapper(int)} 304 */ 305 protected TransmissionManagerWrapper getQueueTransmissionManagerWrapper(int indexOfSession) 306 { 307 return jmsTestModule.getQueueTransmissionManagerWrapper(indexOfSession); 308 } 309 310 /** 311 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTopicTransmissionManagerWrapper(int)} 312 */ 313 protected TransmissionManagerWrapper getTopicTransmissionManagerWrapper(int indexOfSession) 314 { 315 return jmsTestModule.getTopicTransmissionManagerWrapper(indexOfSession); 316 } 317 318 /** 319 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getQueueSessionList} 320 */ 321 protected List getQueueSessionList() 322 { 323 return jmsTestModule.getQueueSessionList(); 324 } 325 326 /** 327 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTopicSessionList} 328 */ 329 protected List getTopicSessionList() 330 { 331 return jmsTestModule.getTopicSessionList(); 332 } 333 334 /** 335 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getSessionList} 336 */ 337 protected List getSessionList() 338 { 339 return jmsTestModule.getSessionList(); 340 } 341 342 /** 343 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTemporaryQueueList(int)} 344 */ 345 protected List getTemporaryQueueList(int indexOfSession) 346 { 347 return jmsTestModule.getTemporaryQueueList(indexOfSession); 348 } 349 350 /** 351 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTemporaryTopicList(int)} 352 */ 353 protected List getTemporaryTopicList(int indexOfSession) 354 { 355 return jmsTestModule.getTemporaryTopicList(indexOfSession); 356 } 357 358 /** 359 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTemporaryQueue(int, int)} 360 */ 361 protected MockTemporaryQueue getTemporaryQueue(int indexOfSession, int indexOfQueue) 362 { 363 return jmsTestModule.getTemporaryQueue(indexOfSession, indexOfQueue); 364 } 365 366 /** 367 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getTemporaryTopic(int, int)} 368 */ 369 protected MockTemporaryTopic getTemporaryTopic(int indexOfSession, int indexOfTopic) 370 { 371 return jmsTestModule.getTemporaryTopic(indexOfSession, indexOfTopic); 372 } 373 374 /** 375 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getCurrentMessageListFromQueue(String)} 376 */ 377 protected List getCurrentMessageListFromQueue(String name) 378 { 379 return jmsTestModule.getCurrentMessageListFromQueue(name); 380 } 381 382 /** 383 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getCurrentMessageListFromTemporaryQueue(int, int)} 384 */ 385 protected List getCurrentMessageListFromTemporaryQueue(int indexOfSession, int indexOfQueue) 386 { 387 return jmsTestModule.getCurrentMessageListFromTemporaryQueue(indexOfSession, indexOfQueue); 388 } 389 390 /** 391 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getReceivedMessageListFromQueue(String)} 392 */ 393 protected List getReceivedMessageListFromQueue(String name) 394 { 395 return jmsTestModule.getReceivedMessageListFromQueue(name); 396 } 397 398 /** 399 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getReceivedMessageListFromTemporaryQueue(int, int)} 400 */ 401 protected List getReceivedMessageListFromTemporaryQueue(int indexOfSession, int indexOfQueue) 402 { 403 return jmsTestModule.getReceivedMessageListFromTemporaryQueue(indexOfSession, indexOfQueue); 404 } 405 406 /** 407 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getCurrentMessageListFromTopic(String)} 408 */ 409 protected List getCurrentMessageListFromTopic(String name) 410 { 411 return jmsTestModule.getCurrentMessageListFromTopic(name); 412 } 413 414 /** 415 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getCurrentMessageListFromTemporaryTopic(int, int)} 416 */ 417 protected List getCurrentMessageListFromTemporaryTopic(int indexOfSession, int indexOfTopic) 418 { 419 return jmsTestModule.getCurrentMessageListFromTemporaryTopic(indexOfSession, indexOfTopic); 420 } 421 422 /** 423 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getReceivedMessageListFromTopic(String)} 424 */ 425 protected List getReceivedMessageListFromTopic(String name) 426 { 427 return jmsTestModule.getReceivedMessageListFromTopic(name); 428 } 429 430 /** 431 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getReceivedMessageListFromTemporaryTopic(int, int)} 432 */ 433 protected List getReceivedMessageListFromTemporaryTopic(int indexOfSession, int indexOfTopic) 434 { 435 return jmsTestModule.getReceivedMessageListFromTemporaryTopic(indexOfSession, indexOfTopic); 436 } 437 438 /** 439 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueConnectionClosed} 440 */ 441 protected void verifyQueueConnectionClosed() 442 { 443 jmsTestModule.verifyQueueConnectionClosed(); 444 } 445 446 /** 447 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueConnectionStarted} 448 */ 449 protected void verifyQueueConnectionStarted() 450 { 451 jmsTestModule.verifyQueueConnectionStarted(); 452 } 453 454 /** 455 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueConnectionStopped} 456 */ 457 protected void verifyQueueConnectionStopped() 458 { 459 jmsTestModule.verifyQueueConnectionStopped(); 460 } 461 462 /** 463 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicConnectionClosed} 464 */ 465 protected void verifyTopicConnectionClosed() 466 { 467 jmsTestModule.verifyTopicConnectionClosed(); 468 } 469 470 /** 471 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicConnectionStarted} 472 */ 473 protected void verifyTopicConnectionStarted() 474 { 475 jmsTestModule.verifyTopicConnectionStarted(); 476 } 477 478 /** 479 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicConnectionStopped} 480 */ 481 protected void verifyTopicConnectionStopped() 482 { 483 jmsTestModule.verifyTopicConnectionStopped(); 484 } 485 486 /** 487 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyConnectionStarted} 488 */ 489 protected void verifyConnectionStarted() 490 { 491 jmsTestModule.verifyConnectionStarted(); 492 } 493 494 /** 495 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyConnectionStopped} 496 */ 497 protected void verifyConnectionStopped() 498 { 499 jmsTestModule.verifyConnectionStopped(); 500 } 501 502 /** 503 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionClosed(int)} 504 */ 505 protected void verifyQueueSessionClosed(int indexOfSession) 506 { 507 jmsTestModule.verifyQueueSessionClosed(indexOfSession); 508 } 509 510 /** 511 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionCommitted(int)} 512 */ 513 protected void verifyQueueSessionCommitted(int indexOfSession) 514 { 515 jmsTestModule.verifyQueueSessionCommitted(indexOfSession); 516 } 517 518 /** 519 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionNotCommitted(int)} 520 */ 521 protected void verifyQueueSessionNotCommitted(int indexOfSession) 522 { 523 jmsTestModule.verifyQueueSessionNotCommitted(indexOfSession); 524 } 525 526 /** 527 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionNumberCommits(int, int)} 528 */ 529 protected void verifyQueueSessionNumberCommits(int indexOfSession, int numberOfCommits) 530 { 531 jmsTestModule.verifyQueueSessionNumberCommits(indexOfSession, numberOfCommits); 532 } 533 534 /** 535 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionRolledBack(int)} 536 */ 537 protected void verifyQueueSessionRolledBack(int indexOfSession) 538 { 539 jmsTestModule.verifyQueueSessionRolledBack(indexOfSession); 540 } 541 542 /** 543 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionNotRolledBack(int)} 544 */ 545 protected void verifyQueueSessionNotRolledBack(int indexOfSession) 546 { 547 jmsTestModule.verifyQueueSessionNotRolledBack(indexOfSession); 548 } 549 550 /** 551 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionNumberRollbacks(int, int)} 552 */ 553 protected void verifyQueueSessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) 554 { 555 jmsTestModule.verifyQueueSessionNumberRollbacks(indexOfSession, numberOfRollbacks); 556 } 557 558 /** 559 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionRecovered(int)} 560 */ 561 protected void verifyQueueSessionRecovered(int indexOfSession) 562 { 563 jmsTestModule.verifyQueueSessionRecovered(indexOfSession); 564 } 565 566 /** 567 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSessionNotRecovered(int)} 568 */ 569 protected void verifyQueueSessionNotRecovered(int indexOfSession) 570 { 571 jmsTestModule.verifyQueueSessionNotRecovered(indexOfSession); 572 } 573 574 /** 575 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionClosed(int)} 576 */ 577 protected void verifyTopicSessionClosed(int indexOfSession) 578 { 579 jmsTestModule.verifyTopicSessionClosed(indexOfSession); 580 } 581 582 /** 583 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionCommitted(int)} 584 */ 585 protected void verifyTopicSessionCommitted(int indexOfSession) 586 { 587 jmsTestModule.verifyTopicSessionCommitted(indexOfSession); 588 } 589 590 /** 591 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionNotCommitted(int)} 592 */ 593 protected void verifyTopicSessionNotCommitted(int indexOfSession) 594 { 595 jmsTestModule.verifyTopicSessionNotCommitted(indexOfSession); 596 } 597 598 /** 599 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionNumberCommits(int, int)} 600 */ 601 protected void verifyTopicSessionNumberCommits(int indexOfSession, int numberOfCommits) 602 { 603 jmsTestModule.verifyTopicSessionNumberCommits(indexOfSession, numberOfCommits); 604 } 605 606 /** 607 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionRolledBack(int)} 608 */ 609 protected void verifyTopicSessionRolledBack(int indexOfSession) 610 { 611 jmsTestModule.verifyTopicSessionRolledBack(indexOfSession); 612 } 613 614 /** 615 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionNotRolledBack(int)} 616 */ 617 protected void verifyTopicSessionNotRolledBack(int indexOfSession) 618 { 619 jmsTestModule.verifyTopicSessionNotRolledBack(indexOfSession); 620 } 621 622 /** 623 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionNumberRollbacks(int, int)} 624 */ 625 protected void verifyTopicSessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) 626 { 627 jmsTestModule.verifyTopicSessionNumberRollbacks(indexOfSession, numberOfRollbacks); 628 } 629 630 /** 631 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionRecovered(int)} 632 */ 633 protected void verifyTopicSessionRecovered(int indexOfSession) 634 { 635 jmsTestModule.verifyTopicSessionRecovered(indexOfSession); 636 } 637 638 /** 639 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSessionNotRecovered(int)} 640 */ 641 protected void verifyTopicSessionNotRecovered(int indexOfSession) 642 { 643 jmsTestModule.verifyTopicSessionNotRecovered(indexOfSession); 644 } 645 646 /** 647 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionClosed(int)} 648 */ 649 protected void verifySessionClosed(int indexOfSession) 650 { 651 jmsTestModule.verifySessionClosed(indexOfSession); 652 } 653 654 /** 655 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionCommitted(int)} 656 */ 657 protected void verifySessionCommitted(int indexOfSession) 658 { 659 jmsTestModule.verifySessionCommitted(indexOfSession); 660 } 661 662 /** 663 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionNotCommitted(int)} 664 */ 665 protected void verifySessionNotCommitted(int indexOfSession) 666 { 667 jmsTestModule.verifySessionNotCommitted(indexOfSession); 668 } 669 670 /** 671 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionNumberCommits(int, int)} 672 */ 673 protected void verifySessionNumberCommits(int indexOfSession, int numberOfCommits) 674 { 675 jmsTestModule.verifySessionNumberCommits(indexOfSession, numberOfCommits); 676 } 677 678 /** 679 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionRolledBack(int)} 680 */ 681 protected void verifySessionRolledBack(int indexOfSession) 682 { 683 jmsTestModule.verifySessionRolledBack(indexOfSession); 684 } 685 686 /** 687 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionNotRolledBack(int)} 688 */ 689 protected void verifySessionNotRolledBack(int indexOfSession) 690 { 691 jmsTestModule.verifySessionNotRolledBack(indexOfSession); 692 } 693 694 /** 695 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionNumberRollbacks(int, int)} 696 */ 697 protected void verifySessionNumberRollbacks(int indexOfSession, int numberOfRollbacks) 698 { 699 jmsTestModule.verifySessionNumberRollbacks(indexOfSession, numberOfRollbacks); 700 } 701 702 /** 703 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionRecovered(int)} 704 */ 705 protected void verifySessionRecovered(int indexOfSession) 706 { 707 jmsTestModule.verifySessionRecovered(indexOfSession); 708 } 709 710 /** 711 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifySessionNotRecovered(int)} 712 */ 713 protected void verifySessionNotRecovered(int indexOfSession) 714 { 715 jmsTestModule.verifySessionNotRecovered(indexOfSession); 716 } 717 718 /** 719 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllQueueSessionsClosed} 720 */ 721 protected void verifyAllQueueSessionsClosed() 722 { 723 jmsTestModule.verifyAllQueueSessionsClosed(); 724 } 725 726 /** 727 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllQueueSessionsRecovered} 728 */ 729 protected void verifyAllQueueSessionsRecovered() 730 { 731 jmsTestModule.verifyAllQueueSessionsRecovered(); 732 } 733 734 /** 735 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllQueueSessionsCommitted} 736 */ 737 protected void verifyAllQueueSessionsCommitted() 738 { 739 jmsTestModule.verifyAllQueueSessionsCommitted(); 740 } 741 742 /** 743 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllQueueSessionsRolledBack} 744 */ 745 protected void verifyAllQueueSessionsRolledBack() 746 { 747 jmsTestModule.verifyAllQueueSessionsRolledBack(); 748 } 749 750 /** 751 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllTopicSessionsClosed} 752 */ 753 protected void verifyAllTopicSessionsClosed() 754 { 755 jmsTestModule.verifyAllTopicSessionsClosed(); 756 } 757 758 /** 759 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllTopicSessionsRecovered} 760 */ 761 protected void verifyAllTopicSessionsRecovered() 762 { 763 jmsTestModule.verifyAllTopicSessionsRecovered(); 764 } 765 766 /** 767 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllTopicSessionsCommitted} 768 */ 769 protected void verifyAllTopicSessionsCommitted() 770 { 771 jmsTestModule.verifyAllTopicSessionsCommitted(); 772 } 773 774 /** 775 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllTopicSessionsRolledBack} 776 */ 777 protected void verifyAllTopicSessionsRolledBack() 778 { 779 jmsTestModule.verifyAllTopicSessionsRolledBack(); 780 } 781 782 /** 783 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllSessionsClosed} 784 */ 785 protected void verifyAllSessionsClosed() 786 { 787 jmsTestModule.verifyAllSessionsClosed(); 788 } 789 790 /** 791 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllSessionsRecovered} 792 */ 793 protected void verifyAllSessionsRecovered() 794 { 795 jmsTestModule.verifyAllSessionsRecovered(); 796 } 797 798 /** 799 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllSessionsCommitted} 800 */ 801 protected void verifyAllSessionsCommitted() 802 { 803 jmsTestModule.verifyAllSessionsCommitted(); 804 } 805 806 /** 807 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllSessionsRolledBack} 808 */ 809 protected void verifyAllSessionsRolledBack() 810 { 811 jmsTestModule.verifyAllSessionsRolledBack(); 812 } 813 814 /** 815 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberMessageProducers(int, int)} 816 */ 817 protected void verifyNumberMessageProducers(int indexOfSession, int numberOfProducers) 818 { 819 jmsTestModule.verifyNumberMessageProducers(indexOfSession, numberOfProducers); 820 } 821 822 /** 823 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllMessageProducersClosed(int)} 824 */ 825 protected void verifyAllMessageProducersClosed(int indexOfSession) 826 { 827 jmsTestModule.verifyAllMessageProducersClosed(indexOfSession); 828 } 829 830 /** 831 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberQueueSenders(int, String, int)} 832 */ 833 protected void verifyNumberQueueSenders(int indexOfSession, String queueName, int numberOfSenders) 834 { 835 jmsTestModule.verifyNumberQueueSenders(indexOfSession, queueName, numberOfSenders); 836 } 837 838 /** 839 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberQueueSenders(int, int)} 840 */ 841 protected void verifyNumberQueueSenders(int indexOfSession, int numberOfSenders) 842 { 843 jmsTestModule.verifyNumberQueueSenders(indexOfSession, numberOfSenders); 844 } 845 846 /** 847 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueSenderClosed(int, String, int)} 848 */ 849 protected void verifyQueueSenderClosed(int indexOfSession, String queueName, int indexOfSender) 850 { 851 jmsTestModule.verifyQueueSenderClosed(indexOfSession, queueName, indexOfSender); 852 } 853 854 /** 855 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllQueueSendersClosed(int)} 856 */ 857 protected void verifyAllQueueSendersClosed(int indexOfSession) 858 { 859 jmsTestModule.verifyAllQueueSendersClosed(indexOfSession); 860 } 861 862 /** 863 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberTopicPublishers(int, String, int)} 864 */ 865 protected void verifyNumberTopicPublishers(int indexOfSession, String topicName, int numberOfPublishers) 866 { 867 jmsTestModule.verifyNumberTopicPublishers(indexOfSession, topicName, numberOfPublishers); 868 } 869 870 /** 871 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberTopicPublishers(int, int)} 872 */ 873 protected void verifyNumberTopicPublishers(int indexOfSession, int numberOfPublishers) 874 { 875 jmsTestModule.verifyNumberTopicPublishers(indexOfSession, numberOfPublishers); 876 } 877 878 /** 879 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicPublisherClosed(int, String, int)} 880 */ 881 protected void verifyTopicPublisherClosed(int indexOfSession, String topicName, int indexOfPublisher) 882 { 883 jmsTestModule.verifyTopicPublisherClosed(indexOfSession, topicName, indexOfPublisher); 884 } 885 886 /** 887 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllTopicPublishersClosed(int)} 888 */ 889 protected void verifyAllTopicPublishersClosed(int indexOfSession) 890 { 891 jmsTestModule.verifyAllTopicPublishersClosed(indexOfSession); 892 } 893 894 /** 895 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberMessageConsumers(int, int)} 896 */ 897 protected void verifyNumberMessageConsumers(int indexOfSession, int numberOfConsumers) 898 { 899 jmsTestModule.verifyNumberMessageConsumers(indexOfSession, numberOfConsumers); 900 } 901 902 /** 903 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllMessageConsumersClosed(int)} 904 */ 905 protected void verifyAllMessageConsumersClosed(int indexOfSession) 906 { 907 jmsTestModule.verifyAllMessageConsumersClosed(indexOfSession); 908 } 909 910 /** 911 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberQueueReceivers(int, int)} 912 */ 913 protected void verifyNumberQueueReceivers(int indexOfSession, int numberOfReceivers) 914 { 915 jmsTestModule.verifyNumberQueueReceivers(indexOfSession, numberOfReceivers); 916 } 917 918 /** 919 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberQueueReceivers(int, String, int)} 920 */ 921 protected void verifyNumberQueueReceivers(int indexOfSession, String queueName, int numberOfReceivers) 922 { 923 jmsTestModule.verifyNumberQueueReceivers(indexOfSession, queueName, numberOfReceivers); 924 } 925 926 /** 927 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueReceiverClosed(int, String, int)} 928 */ 929 protected void verifyQueueReceiverClosed(int indexOfSession, String queueName, int indexOfReceiver) 930 { 931 jmsTestModule.verifyQueueReceiverClosed(indexOfSession, queueName, indexOfReceiver); 932 } 933 934 /** 935 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllQueueReceiversClosed(int)} 936 */ 937 protected void verifyAllQueueReceiversClosed(int indexOfSession) 938 { 939 jmsTestModule.verifyAllQueueReceiversClosed(indexOfSession); 940 } 941 942 /** 943 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberTopicSubscribers(int, int)} 944 */ 945 protected void verifyNumberTopicSubscribers(int indexOfSession, int numberOfSubscribers) 946 { 947 jmsTestModule.verifyNumberTopicSubscribers(indexOfSession, numberOfSubscribers); 948 } 949 950 /** 951 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberTopicSubscribers(int, String, int)} 952 */ 953 protected void verifyNumberTopicSubscribers(int indexOfSession, String topicName, int numberOfSubscribers) 954 { 955 jmsTestModule.verifyNumberTopicSubscribers(indexOfSession, topicName, numberOfSubscribers); 956 } 957 958 /** 959 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTopicSubscriberClosed(int, String, int)} 960 */ 961 protected void verifyTopicSubscriberClosed(int indexOfSession, String topicName, int indexOfSubscriber) 962 { 963 jmsTestModule.verifyTopicSubscriberClosed(indexOfSession, topicName, indexOfSubscriber); 964 } 965 966 /** 967 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllTopicSubscribersClosed(int)} 968 */ 969 protected void verifyAllTopicSubscribersClosed(int indexOfSession) 970 { 971 jmsTestModule.verifyAllTopicSubscribersClosed(indexOfSession); 972 } 973 974 /** 975 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberQueueBrowsers(int, String, int)} 976 */ 977 protected void verifyNumberQueueBrowsers(int indexOfSession, String queueName, int numberOfBrowsers) 978 { 979 jmsTestModule.verifyNumberQueueBrowsers(indexOfSession, queueName, numberOfBrowsers); 980 } 981 982 /** 983 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberQueueBrowsers(int, int)} 984 */ 985 protected void verifyNumberQueueBrowsers(int indexOfSession, int numberOfBrowsers) 986 { 987 jmsTestModule.verifyNumberQueueBrowsers(indexOfSession, numberOfBrowsers); 988 } 989 990 /** 991 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyQueueBrowserClosed(int, String, int)} 992 */ 993 protected void verifyQueueBrowserClosed(int indexOfSession, String queueName, int indexOfBrowser) 994 { 995 jmsTestModule.verifyQueueBrowserClosed(indexOfSession, queueName, indexOfBrowser); 996 } 997 998 /** 999 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllQueueBrowsersClosed(int)} 1000 */ 1001 protected void verifyAllQueueBrowsersClosed(int indexOfSession) 1002 { 1003 jmsTestModule.verifyAllQueueBrowsersClosed(indexOfSession); 1004 } 1005 1006 /** 1007 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyDurableTopicSubscriberPresent(int, String)} 1008 */ 1009 protected void verifyDurableTopicSubscriberPresent(int indexOfSession, String name) 1010 { 1011 jmsTestModule.verifyDurableTopicSubscriberPresent(indexOfSession, name); 1012 } 1013 1014 /** 1015 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberDurableTopicSubscribers(int, String, int)} 1016 */ 1017 protected void verifyNumberDurableTopicSubscribers(int indexOfSession, String topicName, int numberOfSubscribers) 1018 { 1019 jmsTestModule.verifyNumberDurableTopicSubscribers(indexOfSession, topicName, numberOfSubscribers); 1020 } 1021 1022 /** 1023 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberDurableTopicSubscribers(int, int)} 1024 */ 1025 protected void verifyNumberDurableTopicSubscribers(int indexOfSession, int numberOfSubscribers) 1026 { 1027 jmsTestModule.verifyNumberDurableTopicSubscribers(indexOfSession, numberOfSubscribers); 1028 } 1029 1030 /** 1031 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyDurableTopicSubscriberClosed(int, String)} 1032 */ 1033 protected void verifyDurableTopicSubscriberClosed(int indexOfSession, String name) 1034 { 1035 jmsTestModule.verifyDurableTopicSubscriberClosed(indexOfSession, name); 1036 } 1037 1038 /** 1039 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllDurableTopicSubscribersClosed(int)} 1040 */ 1041 protected void verifyAllDurableTopicSubscribersClosed(int indexOfSession) 1042 { 1043 jmsTestModule.verifyAllDurableTopicSubscribersClosed(indexOfSession); 1044 } 1045 1046 /** 1047 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberQueueSessions(int)} 1048 */ 1049 protected void verifyNumberQueueSessions(int number) 1050 { 1051 jmsTestModule.verifyNumberQueueSessions(number); 1052 } 1053 1054 /** 1055 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberTopicSessions(int)} 1056 */ 1057 protected void verifyNumberTopicSessions(int number) 1058 { 1059 jmsTestModule.verifyNumberTopicSessions(number); 1060 } 1061 1062 /** 1063 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberSessions(int)} 1064 */ 1065 protected void verifyNumberSessions(int number) 1066 { 1067 jmsTestModule.verifyNumberSessions(number); 1068 } 1069 1070 /** 1071 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberTemporaryQueues(int, int)} 1072 */ 1073 protected void verifyNumberTemporaryQueues(int indexOfSession, int numberQueues) 1074 { 1075 jmsTestModule.verifyNumberTemporaryQueues(indexOfSession, numberQueues); 1076 } 1077 1078 /** 1079 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberTemporaryTopics(int, int)} 1080 */ 1081 protected void verifyNumberTemporaryTopics(int indexOfSession, int numberTopics) 1082 { 1083 jmsTestModule.verifyNumberTemporaryTopics(indexOfSession, numberTopics); 1084 } 1085 1086 /** 1087 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTemporaryQueueDeleted(int, int)} 1088 */ 1089 protected void verifyTemporaryQueueDeleted(int indexOfSession, int indexOfQueue) 1090 { 1091 jmsTestModule.verifyTemporaryQueueDeleted(indexOfSession, indexOfQueue); 1092 } 1093 1094 /** 1095 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllTemporaryQueuesDeleted(int)} 1096 */ 1097 protected void verifyAllTemporaryQueuesDeleted(int indexOfSession) 1098 { 1099 jmsTestModule.verifyAllTemporaryQueuesDeleted(indexOfSession); 1100 } 1101 1102 /** 1103 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyTemporaryTopicDeleted(int, int)} 1104 */ 1105 protected void verifyTemporaryTopicDeleted(int indexOfSession, int indexOfTopic) 1106 { 1107 jmsTestModule.verifyTemporaryTopicDeleted(indexOfSession, indexOfTopic); 1108 } 1109 1110 /** 1111 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllTemporaryTopicsDeleted(int)} 1112 */ 1113 protected void verifyAllTemporaryTopicsDeleted(int indexOfSession) 1114 { 1115 jmsTestModule.verifyAllTemporaryTopicsDeleted(indexOfSession); 1116 } 1117 1118 /** 1119 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyMessageEquals(MockMessage, MockMessage)} 1120 */ 1121 protected void verifyMessageEquals(MockMessage message1, MockMessage message2) 1122 { 1123 jmsTestModule.verifyMessageEquals(message1, message2); 1124 } 1125 1126 /** 1127 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCurrentQueueMessageEquals(String, int, MockMessage)} 1128 */ 1129 protected void verifyCurrentQueueMessageEquals(String nameOfQueue, int indexOfSourceMessage, MockMessage targetMessage) 1130 { 1131 jmsTestModule.verifyCurrentQueueMessageEquals(nameOfQueue, indexOfSourceMessage, targetMessage); 1132 } 1133 1134 /** 1135 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCurrentQueueMessageEquals(int, int, int, MockMessage)} 1136 */ 1137 protected void verifyCurrentQueueMessageEquals(int indexOfSession, int indexOfQueue, int indexOfSourceMessage, MockMessage targetMessage) 1138 { 1139 jmsTestModule.verifyCurrentQueueMessageEquals(indexOfSession, indexOfQueue, indexOfSourceMessage, targetMessage); 1140 } 1141 1142 /** 1143 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedQueueMessageEquals(String, int, MockMessage)} 1144 */ 1145 protected void verifyReceivedQueueMessageEquals(String nameOfQueue, int indexOfSourceMessage, MockMessage targetMessage) 1146 { 1147 jmsTestModule.verifyReceivedQueueMessageEquals(nameOfQueue, indexOfSourceMessage, targetMessage); 1148 } 1149 1150 /** 1151 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedQueueMessageEquals(int, int, int, MockMessage)} 1152 */ 1153 protected void verifyReceivedQueueMessageEquals(int indexOfSession, int indexOfQueue, int indexOfSourceMessage, MockMessage targetMessage) 1154 { 1155 jmsTestModule.verifyReceivedQueueMessageEquals(indexOfSession, indexOfQueue, indexOfSourceMessage, targetMessage); 1156 } 1157 1158 /** 1159 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCurrentQueueMessages(int, int, int)} 1160 */ 1161 protected void verifyNumberOfCurrentQueueMessages(int indexOfSession, int indexOfQueue, int numberOfMessages) 1162 { 1163 jmsTestModule.verifyNumberOfCurrentQueueMessages(indexOfSession, indexOfQueue, numberOfMessages); 1164 } 1165 1166 /** 1167 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCurrentQueueMessages(String, int)} 1168 */ 1169 protected void verifyNumberOfCurrentQueueMessages(String nameOfQueue, int numberOfMessages) 1170 { 1171 jmsTestModule.verifyNumberOfCurrentQueueMessages(nameOfQueue, numberOfMessages); 1172 } 1173 1174 /** 1175 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfReceivedQueueMessages(String, int)} 1176 */ 1177 protected void verifyNumberOfReceivedQueueMessages(String nameOfQueue, int numberOfMessages) 1178 { 1179 jmsTestModule.verifyNumberOfReceivedQueueMessages(nameOfQueue, numberOfMessages); 1180 } 1181 1182 /** 1183 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfReceivedQueueMessages(int, int, int)} 1184 */ 1185 protected void verifyNumberOfReceivedQueueMessages(int indexOfSession, int indexOfQueue, int numberOfMessages) 1186 { 1187 jmsTestModule.verifyNumberOfReceivedQueueMessages(indexOfSession, indexOfQueue, numberOfMessages); 1188 } 1189 1190 /** 1191 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllReceivedQueueMessagesAcknowledged(String)} 1192 */ 1193 protected void verifyAllReceivedQueueMessagesAcknowledged(String nameOfQueue) 1194 { 1195 jmsTestModule.verifyAllReceivedQueueMessagesAcknowledged(nameOfQueue); 1196 } 1197 1198 /** 1199 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllReceivedQueueMessagesAcknowledged(int, int)} 1200 */ 1201 protected void verifyAllReceivedQueueMessagesAcknowledged(int indexOfSession, int indexOfQueue) 1202 { 1203 jmsTestModule.verifyAllReceivedQueueMessagesAcknowledged(indexOfSession, indexOfQueue); 1204 } 1205 1206 /** 1207 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedQueueMessageAcknowledged(String, int)} 1208 */ 1209 protected void verifyReceivedQueueMessageAcknowledged(String nameOfQueue, int indexOfMessage) 1210 { 1211 jmsTestModule.verifyReceivedQueueMessageAcknowledged(nameOfQueue, indexOfMessage); 1212 } 1213 1214 /** 1215 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedQueueMessageAcknowledged(int, int, int)} 1216 */ 1217 protected void verifyReceivedQueueMessageAcknowledged(int indexOfSession, int indexOfQueue, int indexOfMessage) 1218 { 1219 jmsTestModule.verifyReceivedQueueMessageAcknowledged(indexOfSession, indexOfQueue, indexOfMessage); 1220 } 1221 1222 /** 1223 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedQueueMessageNotAcknowledged(int, int, int)} 1224 */ 1225 protected void verifyReceivedQueueMessageNotAcknowledged(int indexOfSession, int indexOfQueue, int indexOfMessage) 1226 { 1227 jmsTestModule.verifyReceivedQueueMessageNotAcknowledged(indexOfSession, indexOfQueue, indexOfMessage); 1228 } 1229 1230 /** 1231 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedQueueMessageNotAcknowledged(String, int)} 1232 */ 1233 protected void verifyReceivedQueueMessageNotAcknowledged(String nameOfQueue, int indexOfMessage) 1234 { 1235 jmsTestModule.verifyReceivedQueueMessageNotAcknowledged(nameOfQueue, indexOfMessage); 1236 } 1237 1238 /** 1239 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedQueueMessages(int, int)} 1240 */ 1241 protected void verifyNumberOfCreatedQueueMessages(int indexOfSession, int number) 1242 { 1243 jmsTestModule.verifyNumberOfCreatedQueueMessages(indexOfSession, number); 1244 } 1245 1246 /** 1247 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedQueueBytesMessages(int, int)} 1248 */ 1249 protected void verifyNumberOfCreatedQueueBytesMessages(int indexOfSession, int number) 1250 { 1251 jmsTestModule.verifyNumberOfCreatedQueueBytesMessages(indexOfSession, number); 1252 } 1253 1254 /** 1255 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedQueueMapMessages(int, int)} 1256 */ 1257 protected void verifyNumberOfCreatedQueueMapMessages(int indexOfSession, int number) 1258 { 1259 jmsTestModule.verifyNumberOfCreatedQueueMapMessages(indexOfSession, number); 1260 } 1261 1262 /** 1263 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedQueueTextMessages(int, int)} 1264 */ 1265 protected void verifyNumberOfCreatedQueueTextMessages(int indexOfSession, int number) 1266 { 1267 jmsTestModule.verifyNumberOfCreatedQueueTextMessages(indexOfSession, number); 1268 } 1269 1270 /** 1271 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedQueueStreamMessages(int, int)} 1272 */ 1273 protected void verifyNumberOfCreatedQueueStreamMessages(int indexOfSession, int number) 1274 { 1275 jmsTestModule.verifyNumberOfCreatedQueueStreamMessages(indexOfSession, number); 1276 } 1277 1278 /** 1279 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedQueueObjectMessages(int, int)} 1280 */ 1281 protected void verifyNumberOfCreatedQueueObjectMessages(int indexOfSession, int number) 1282 { 1283 jmsTestModule.verifyNumberOfCreatedQueueObjectMessages(indexOfSession, number); 1284 } 1285 1286 /** 1287 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueMessageAcknowledged(int, int)} 1288 */ 1289 protected void verifyCreatedQueueMessageAcknowledged(int indexOfSession, int indexOfMessage) 1290 { 1291 jmsTestModule.verifyCreatedQueueMessageAcknowledged(indexOfSession, indexOfMessage); 1292 } 1293 1294 /** 1295 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueMessageNotAcknowledged(int, int)} 1296 */ 1297 protected void verifyCreatedQueueMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1298 { 1299 jmsTestModule.verifyCreatedQueueMessageNotAcknowledged(indexOfSession, indexOfMessage); 1300 } 1301 1302 /** 1303 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueBytesMessageAcknowledged(int, int)} 1304 */ 1305 protected void verifyCreatedQueueBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) 1306 { 1307 jmsTestModule.verifyCreatedQueueBytesMessageAcknowledged(indexOfSession, indexOfMessage); 1308 } 1309 1310 /** 1311 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueBytesMessageNotAcknowledged(int, int)} 1312 */ 1313 protected void verifyCreatedQueueBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1314 { 1315 jmsTestModule.verifyCreatedQueueBytesMessageNotAcknowledged(indexOfSession, indexOfMessage); 1316 } 1317 1318 /** 1319 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueMapMessageAcknowledged(int, int)} 1320 */ 1321 protected void verifyCreatedQueueMapMessageAcknowledged(int indexOfSession, int indexOfMessage) 1322 { 1323 jmsTestModule.verifyCreatedQueueMapMessageAcknowledged(indexOfSession, indexOfMessage); 1324 } 1325 1326 /** 1327 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueMapMessageNotAcknowledged(int, int)} 1328 */ 1329 protected void verifyCreatedQueueMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1330 { 1331 jmsTestModule.verifyCreatedQueueMapMessageNotAcknowledged(indexOfSession, indexOfMessage); 1332 } 1333 1334 /** 1335 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueTextMessageAcknowledged(int, int)} 1336 */ 1337 protected void verifyCreatedQueueTextMessageAcknowledged(int indexOfSession, int indexOfMessage) 1338 { 1339 jmsTestModule.verifyCreatedQueueTextMessageAcknowledged(indexOfSession, indexOfMessage); 1340 } 1341 1342 /** 1343 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueTextMessageNotAcknowledged(int, int)} 1344 */ 1345 protected void verifyCreatedQueueTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1346 { 1347 jmsTestModule.verifyCreatedQueueTextMessageNotAcknowledged(indexOfSession, indexOfMessage); 1348 } 1349 1350 /** 1351 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueStreamMessageAcknowledged(int, int)} 1352 */ 1353 protected void verifyCreatedQueueStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) 1354 { 1355 jmsTestModule.verifyCreatedQueueStreamMessageAcknowledged(indexOfSession, indexOfMessage); 1356 } 1357 1358 /** 1359 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueStreamMessageNotAcknowledged(int, int)} 1360 */ 1361 protected void verifyCreatedQueueStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1362 { 1363 jmsTestModule.verifyCreatedQueueStreamMessageNotAcknowledged(indexOfSession, indexOfMessage); 1364 } 1365 1366 /** 1367 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueObjectMessageAcknowledged(int, int)} 1368 */ 1369 protected void verifyCreatedQueueObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) 1370 { 1371 jmsTestModule.verifyCreatedQueueObjectMessageAcknowledged(indexOfSession, indexOfMessage); 1372 } 1373 1374 /** 1375 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedQueueObjectMessageNotAcknowledged(int, int)} 1376 */ 1377 protected void verifyCreatedQueueObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1378 { 1379 jmsTestModule.verifyCreatedQueueObjectMessageNotAcknowledged(indexOfSession, indexOfMessage); 1380 } 1381 1382 /** 1383 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCurrentTopicMessageEquals(int, int, int, MockMessage)} 1384 */ 1385 protected void verifyCurrentTopicMessageEquals(int indexOfSession, int indexOfTopic, int indexOfSourceMessage, MockMessage targetMessage) 1386 { 1387 jmsTestModule.verifyCurrentTopicMessageEquals(indexOfSession, indexOfTopic, indexOfSourceMessage, targetMessage); 1388 } 1389 1390 /** 1391 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCurrentTopicMessageEquals(String, int, MockMessage)} 1392 */ 1393 protected void verifyCurrentTopicMessageEquals(String nameOfTopic, int indexOfSourceMessage, MockMessage targetMessage) 1394 { 1395 jmsTestModule.verifyCurrentTopicMessageEquals(nameOfTopic, indexOfSourceMessage, targetMessage); 1396 } 1397 1398 /** 1399 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedTopicMessageEquals(String, int, MockMessage)} 1400 */ 1401 protected void verifyReceivedTopicMessageEquals(String nameOfTopic, int indexOfSourceMessage, MockMessage targetMessage) 1402 { 1403 jmsTestModule.verifyReceivedTopicMessageEquals(nameOfTopic, indexOfSourceMessage, targetMessage); 1404 } 1405 1406 /** 1407 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedTopicMessageEquals(int, int, int, MockMessage)} 1408 */ 1409 protected void verifyReceivedTopicMessageEquals(int indexOfSession, int indexOfTopic, int indexOfSourceMessage, MockMessage targetMessage) 1410 { 1411 jmsTestModule.verifyReceivedTopicMessageEquals(indexOfSession, indexOfTopic, indexOfSourceMessage, targetMessage); 1412 } 1413 1414 /** 1415 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCurrentTopicMessages(int, int, int)} 1416 */ 1417 protected void verifyNumberOfCurrentTopicMessages(int indexOfSession, int indexOfTopic, int numberOfMessages) 1418 { 1419 jmsTestModule.verifyNumberOfCurrentTopicMessages(indexOfSession, indexOfTopic, numberOfMessages); 1420 } 1421 1422 /** 1423 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCurrentTopicMessages(String, int)} 1424 */ 1425 protected void verifyNumberOfCurrentTopicMessages(String nameOfTopic, int numberOfMessages) 1426 { 1427 jmsTestModule.verifyNumberOfCurrentTopicMessages(nameOfTopic, numberOfMessages); 1428 } 1429 1430 /** 1431 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfReceivedTopicMessages(int, int, int)} 1432 */ 1433 protected void verifyNumberOfReceivedTopicMessages(int indexOfSession, int indexOfTopic, int numberOfMessages) 1434 { 1435 jmsTestModule.verifyNumberOfReceivedTopicMessages(indexOfSession, indexOfTopic, numberOfMessages); 1436 } 1437 1438 /** 1439 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfReceivedTopicMessages(String, int)} 1440 */ 1441 protected void verifyNumberOfReceivedTopicMessages(String nameOfTopic, int numberOfMessages) 1442 { 1443 jmsTestModule.verifyNumberOfReceivedTopicMessages(nameOfTopic, numberOfMessages); 1444 } 1445 1446 /** 1447 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllReceivedTopicMessagesAcknowledged(String)} 1448 */ 1449 protected void verifyAllReceivedTopicMessagesAcknowledged(String nameOfTopic) 1450 { 1451 jmsTestModule.verifyAllReceivedTopicMessagesAcknowledged(nameOfTopic); 1452 } 1453 1454 /** 1455 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyAllReceivedTopicMessagesAcknowledged(int, int)} 1456 */ 1457 protected void verifyAllReceivedTopicMessagesAcknowledged(int indexOfSession, int indexOfTopic) 1458 { 1459 jmsTestModule.verifyAllReceivedTopicMessagesAcknowledged(indexOfSession, indexOfTopic); 1460 } 1461 1462 /** 1463 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedTopicMessageAcknowledged(String, int)} 1464 */ 1465 protected void verifyReceivedTopicMessageAcknowledged(String nameOfTopic, int indexOfMessage) 1466 { 1467 jmsTestModule.verifyReceivedTopicMessageAcknowledged(nameOfTopic, indexOfMessage); 1468 } 1469 1470 /** 1471 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedTopicMessageAcknowledged(int, int, int)} 1472 */ 1473 protected void verifyReceivedTopicMessageAcknowledged(int indexOfSession, int indexOfTopic, int indexOfMessage) 1474 { 1475 jmsTestModule.verifyReceivedTopicMessageAcknowledged(indexOfSession, indexOfTopic, indexOfMessage); 1476 } 1477 1478 /** 1479 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedTopicMessageNotAcknowledged(int, int, int)} 1480 */ 1481 protected void verifyReceivedTopicMessageNotAcknowledged(int indexOfSession, int indexOfTopic, int indexOfMessage) 1482 { 1483 jmsTestModule.verifyReceivedTopicMessageNotAcknowledged(indexOfSession, indexOfTopic, indexOfMessage); 1484 } 1485 1486 /** 1487 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyReceivedTopicMessageNotAcknowledged(String, int)} 1488 */ 1489 protected void verifyReceivedTopicMessageNotAcknowledged(String nameOfTopic, int indexOfMessage) 1490 { 1491 jmsTestModule.verifyReceivedTopicMessageNotAcknowledged(nameOfTopic, indexOfMessage); 1492 } 1493 1494 /** 1495 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedTopicMessages(int, int)} 1496 */ 1497 protected void verifyNumberOfCreatedTopicMessages(int indexOfSession, int number) 1498 { 1499 jmsTestModule.verifyNumberOfCreatedTopicMessages(indexOfSession, number); 1500 } 1501 1502 /** 1503 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedTopicBytesMessages(int, int)} 1504 */ 1505 protected void verifyNumberOfCreatedTopicBytesMessages(int indexOfSession, int number) 1506 { 1507 jmsTestModule.verifyNumberOfCreatedTopicBytesMessages(indexOfSession, number); 1508 } 1509 1510 /** 1511 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedTopicMapMessages(int, int)} 1512 */ 1513 protected void verifyNumberOfCreatedTopicMapMessages(int indexOfSession, int number) 1514 { 1515 jmsTestModule.verifyNumberOfCreatedTopicMapMessages(indexOfSession, number); 1516 } 1517 1518 /** 1519 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedTopicTextMessages(int, int)} 1520 */ 1521 protected void verifyNumberOfCreatedTopicTextMessages(int indexOfSession, int number) 1522 { 1523 jmsTestModule.verifyNumberOfCreatedTopicTextMessages(indexOfSession, number); 1524 } 1525 1526 /** 1527 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedTopicStreamMessages(int, int)} 1528 */ 1529 protected void verifyNumberOfCreatedTopicStreamMessages(int indexOfSession, int number) 1530 { 1531 jmsTestModule.verifyNumberOfCreatedTopicStreamMessages(indexOfSession, number); 1532 } 1533 1534 /** 1535 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedTopicObjectMessages(int, int)} 1536 */ 1537 protected void verifyNumberOfCreatedTopicObjectMessages(int indexOfSession, int number) 1538 { 1539 jmsTestModule.verifyNumberOfCreatedTopicObjectMessages(indexOfSession, number); 1540 } 1541 1542 /** 1543 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicMessageAcknowledged(int, int)} 1544 */ 1545 protected void verifyCreatedTopicMessageAcknowledged(int indexOfSession, int indexOfMessage) 1546 { 1547 jmsTestModule.verifyCreatedTopicMessageAcknowledged(indexOfSession, indexOfMessage); 1548 } 1549 1550 /** 1551 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicMessageNotAcknowledged(int, int)} 1552 */ 1553 protected void verifyCreatedTopicMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1554 { 1555 jmsTestModule.verifyCreatedTopicMessageNotAcknowledged(indexOfSession, indexOfMessage); 1556 } 1557 1558 /** 1559 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicBytesMessageAcknowledged(int, int)} 1560 */ 1561 protected void verifyCreatedTopicBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) 1562 { 1563 jmsTestModule.verifyCreatedTopicBytesMessageAcknowledged(indexOfSession, indexOfMessage); 1564 } 1565 1566 /** 1567 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicBytesMessageNotAcknowledged(int, int)} 1568 */ 1569 protected void verifyCreatedTopicBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1570 { 1571 jmsTestModule.verifyCreatedTopicBytesMessageNotAcknowledged(indexOfSession, indexOfMessage); 1572 } 1573 1574 /** 1575 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicMapMessageAcknowledged(int, int)} 1576 */ 1577 protected void verifyCreatedTopicMapMessageAcknowledged(int indexOfSession, int indexOfMessage) 1578 { 1579 jmsTestModule.verifyCreatedTopicMapMessageAcknowledged(indexOfSession, indexOfMessage); 1580 } 1581 1582 /** 1583 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicMapMessageNotAcknowledged(int, int)} 1584 */ 1585 protected void verifyCreatedTopicMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1586 { 1587 jmsTestModule.verifyCreatedTopicMapMessageNotAcknowledged(indexOfSession, indexOfMessage); 1588 } 1589 1590 /** 1591 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicTextMessageAcknowledged(int, int)} 1592 */ 1593 protected void verifyCreatedTopicTextMessageAcknowledged(int indexOfSession, int indexOfMessage) 1594 { 1595 jmsTestModule.verifyCreatedTopicTextMessageAcknowledged(indexOfSession, indexOfMessage); 1596 } 1597 1598 /** 1599 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicTextMessageNotAcknowledged(int, int)} 1600 */ 1601 protected void verifyCreatedTopicTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1602 { 1603 jmsTestModule.verifyCreatedTopicTextMessageNotAcknowledged(indexOfSession, indexOfMessage); 1604 } 1605 1606 /** 1607 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicStreamMessageAcknowledged(int, int)} 1608 */ 1609 protected void verifyCreatedTopicStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) 1610 { 1611 jmsTestModule.verifyCreatedTopicStreamMessageAcknowledged(indexOfSession, indexOfMessage); 1612 } 1613 1614 /** 1615 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicStreamMessageNotAcknowledged(int, int)} 1616 */ 1617 protected void verifyCreatedTopicStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1618 { 1619 jmsTestModule.verifyCreatedTopicStreamMessageNotAcknowledged(indexOfSession, indexOfMessage); 1620 } 1621 1622 /** 1623 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicObjectMessageAcknowledged(int, int)} 1624 */ 1625 protected void verifyCreatedTopicObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) 1626 { 1627 jmsTestModule.verifyCreatedTopicObjectMessageAcknowledged(indexOfSession, indexOfMessage); 1628 } 1629 1630 /** 1631 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTopicObjectMessageNotAcknowledged(int, int)} 1632 */ 1633 protected void verifyCreatedTopicObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1634 { 1635 jmsTestModule.verifyCreatedTopicObjectMessageNotAcknowledged(indexOfSession, indexOfMessage); 1636 } 1637 1638 /** 1639 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedMessages(int, int)} 1640 */ 1641 protected void verifyNumberOfCreatedMessages(int indexOfSession, int number) 1642 { 1643 jmsTestModule.verifyNumberOfCreatedMessages(indexOfSession, number); 1644 } 1645 1646 /** 1647 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedBytesMessages(int, int)} 1648 */ 1649 protected void verifyNumberOfCreatedBytesMessages(int indexOfSession, int number) 1650 { 1651 jmsTestModule.verifyNumberOfCreatedBytesMessages(indexOfSession, number); 1652 } 1653 1654 /** 1655 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedMapMessages(int, int)} 1656 */ 1657 protected void verifyNumberOfCreatedMapMessages(int indexOfSession, int number) 1658 { 1659 jmsTestModule.verifyNumberOfCreatedMapMessages(indexOfSession, number); 1660 } 1661 1662 /** 1663 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedTextMessages(int, int)} 1664 */ 1665 protected void verifyNumberOfCreatedTextMessages(int indexOfSession, int number) 1666 { 1667 jmsTestModule.verifyNumberOfCreatedTextMessages(indexOfSession, number); 1668 } 1669 1670 /** 1671 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedStreamMessages(int, int)} 1672 */ 1673 protected void verifyNumberOfCreatedStreamMessages(int indexOfSession, int number) 1674 { 1675 jmsTestModule.verifyNumberOfCreatedStreamMessages(indexOfSession, number); 1676 } 1677 1678 /** 1679 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyNumberOfCreatedObjectMessages(int, int)} 1680 */ 1681 protected void verifyNumberOfCreatedObjectMessages(int indexOfSession, int number) 1682 { 1683 jmsTestModule.verifyNumberOfCreatedObjectMessages(indexOfSession, number); 1684 } 1685 1686 /** 1687 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedMessageAcknowledged(int, int)} 1688 */ 1689 protected void verifyCreatedMessageAcknowledged(int indexOfSession, int indexOfMessage) 1690 { 1691 jmsTestModule.verifyCreatedMessageAcknowledged(indexOfSession, indexOfMessage); 1692 } 1693 1694 /** 1695 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedMessageNotAcknowledged(int, int)} 1696 */ 1697 protected void verifyCreatedMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1698 { 1699 jmsTestModule.verifyCreatedMessageNotAcknowledged(indexOfSession, indexOfMessage); 1700 } 1701 1702 /** 1703 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedBytesMessageAcknowledged(int, int)} 1704 */ 1705 protected void verifyCreatedBytesMessageAcknowledged(int indexOfSession, int indexOfMessage) 1706 { 1707 jmsTestModule.verifyCreatedBytesMessageAcknowledged(indexOfSession, indexOfMessage); 1708 } 1709 1710 /** 1711 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedBytesMessageNotAcknowledged(int, int)} 1712 */ 1713 protected void verifyCreatedBytesMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1714 { 1715 jmsTestModule.verifyCreatedBytesMessageNotAcknowledged(indexOfSession, indexOfMessage); 1716 } 1717 1718 /** 1719 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedMapMessageAcknowledged(int, int)} 1720 */ 1721 protected void verifyCreatedMapMessageAcknowledged(int indexOfSession, int indexOfMessage) 1722 { 1723 jmsTestModule.verifyCreatedMapMessageAcknowledged(indexOfSession, indexOfMessage); 1724 } 1725 1726 /** 1727 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedMapMessageNotAcknowledged(int, int)} 1728 */ 1729 protected void verifyCreatedMapMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1730 { 1731 jmsTestModule.verifyCreatedMapMessageNotAcknowledged(indexOfSession, indexOfMessage); 1732 } 1733 1734 /** 1735 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTextMessageAcknowledged(int, int)} 1736 */ 1737 protected void verifyCreatedTextMessageAcknowledged(int indexOfSession, int indexOfMessage) 1738 { 1739 jmsTestModule.verifyCreatedTextMessageAcknowledged(indexOfSession, indexOfMessage); 1740 } 1741 1742 /** 1743 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedTextMessageNotAcknowledged(int, int)} 1744 */ 1745 protected void verifyCreatedTextMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1746 { 1747 jmsTestModule.verifyCreatedTextMessageNotAcknowledged(indexOfSession, indexOfMessage); 1748 } 1749 1750 /** 1751 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedStreamMessageAcknowledged(int, int)} 1752 */ 1753 protected void verifyCreatedStreamMessageAcknowledged(int indexOfSession, int indexOfMessage) 1754 { 1755 jmsTestModule.verifyCreatedStreamMessageAcknowledged(indexOfSession, indexOfMessage); 1756 } 1757 1758 /** 1759 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedStreamMessageNotAcknowledged(int, int)} 1760 */ 1761 protected void verifyCreatedStreamMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1762 { 1763 jmsTestModule.verifyCreatedStreamMessageNotAcknowledged(indexOfSession, indexOfMessage); 1764 } 1765 1766 /** 1767 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedObjectMessageAcknowledged(int, int)} 1768 */ 1769 protected void verifyCreatedObjectMessageAcknowledged(int indexOfSession, int indexOfMessage) 1770 { 1771 jmsTestModule.verifyCreatedObjectMessageAcknowledged(indexOfSession, indexOfMessage); 1772 } 1773 1774 /** 1775 * Delegates to {@link com.mockrunner.jms.JMSTestModule#verifyCreatedObjectMessageNotAcknowledged(int, int)} 1776 */ 1777 protected void verifyCreatedObjectMessageNotAcknowledged(int indexOfSession, int indexOfMessage) 1778 { 1779 jmsTestModule.verifyCreatedObjectMessageNotAcknowledged(indexOfSession, indexOfMessage); 1780 } 1781 1782 /** 1783 * Delegates to {@link com.mockrunner.jms.JMSTestModule#getQueue(String)} 1784 */ 1785 protected MockQueue getQueue(String name) 1786 { 1787 return jmsTestModule.getQueue(name); 1788 } 1789 }