Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4775

Incorrect information in documentation about spring testing

    Details

    • Estimated Complexity:
      Novice

      Description

      http://camel.apache.org/spring-testing.html says

      You can overload the method createApplicationContext to provide the Spring ApplicationContext that isn't following the above default

      This is after it says in the example that you test class should extend AbstractJUnit38SpringContextTests. This is incorrect.

      Solution
      The test class should actually extend CamelSpringTestSupport

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              bhargett Bobby Hargett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: