Testing for Warnings
In both maintenance classes and entity change handlers, there is the possibility of issuing a warning. This code should be tested just as well as any other entity validation or default action.
Maintenance Classes
Entity tests
Parent topic
Standard test cases
This site works best with JavaScript enabled