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.