jMock

Add overloads of "with" that are shorthand for with(equal(...))

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.4.0
  • Fix Version/s: 2.5.0
  • Component/s: JMock 2.x.x Library
  • Labels:
    None
  • Environment:
    All
  • Number of attachments :
    0

Description

Add versions of with method that accept primitives and a template version that are shorthand for with( equal( ... ) ).

So instead of saying with( equal( 1 ) ), you can just say with( 1 ).

Activity

Hide
Nat Pryce added a comment -

Fix in SVN

Show
Nat Pryce added a comment - Fix in SVN

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: