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