Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5.0, 2.5.1
-
Fix Version/s: 2.6.0
-
Component/s: JMock 2.x.x Library
-
Labels:None
-
Number of attachments :
Description
The CardinalityClause interface should have the 'oneOf' method since the 'one' method is expected to be deprecated according to the documentation in Expectations. These methods should also be annotated as deprecated.
Good point! The one method is not deprecated yet, but will be in a future release.