The use of UML analysis and design models as part of testing is straightforward. You use these diagrams to design the low-level components of your system. Therefore, these diagrams can directly aid in unit testing—that is, the testing of the individual system components prior to integration with others, typically performed by the developer who has created the component.
Consider the use case diagram in Figure 7-10. This is a use case diagram of a subsystem, which is part of a medical records system that is responsible for compliance with state regulations. [NAIB3] (Note: An MDS [Minimum Data Set] is a specific extraction of certain information from the clinical records of a patient.)