13.2. Example Contract: enterItem
Before examining the reason to write a contract, an example is worthwhile. The following describes a contract for the enterItem system operation.
Contract CO2: enterItem
|
Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.