Project: mule
Issue MULE-9170: Implement a testing tool to check misusages of lifecycles
Allow a build to be run with a profile that fails tests when any of the following happen: * lifecycle method is called more than once for a given object. * dispose/stop method called without matching initialise/start having been called (if defined). Check for any possible combination scenarios. Run the test suite with this tool enabled and verify any test failures caused by it. File a bug for each component that has a failure. Provide this functionality to other teams do they can validate themselves the proper lifecycle usage of their defined objects.
Story points: 8