Class DefaultBrokerServiceTests


  • @SpringJUnitConfig(locations="classpath:test-config.xml")
    @DirtiesContext
    @TestExecutionListeners(listeners={org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,org.springframework.test.context.support.DirtiesContextTestExecutionListener.class})
    public class DefaultBrokerServiceTests
    extends Object
    Tests for a DefaultBrokerService. See AuctionServiceTests for a detailed example. We use the Spring test runner for integration testing. Mocks may be created in the test code, or may be instantiated by Spring and autowired into the test. Test component configuration is in test-config.xml.
    Author:
    John Collins
    • Constructor Detail

      • DefaultBrokerServiceTests

        public DefaultBrokerServiceTests()
    • Method Detail

      • testBogusInit

        @Test
        public void testBogusInit()
      • testService

        @Test
        public void testService()
      • testInit

        @Test
        public void testInit()
      • testConfig

        @Test
        public void testConfig()
      • testDefaultTariffPublication

        @Test
        public void testDefaultTariffPublication()
      • testReceiveSignupMessage

        @Test
        public void testReceiveSignupMessage()
      • testReceiveWithdrawMessage

        @Test
        public void testReceiveWithdrawMessage()
      • testReceiveConsumeMessage

        @Test
        public void testReceiveConsumeMessage()
      • testOrderTS0

        @Test
        public void testOrderTS0()
      • testOrderTS3

        @Test
        public void testOrderTS3()
      • testOrderTS3Bootstrap

        @Test
        public void testOrderTS3Bootstrap()