Sonntag, 31. Juli 2011

JMock HasProperty Expectations

Took me a while to define JMock expectations which verifies that a argument of mocked method has a defined set of properties with values.

Here my JMock based JUnit test:

Is there no better way to do this in JMock?

Keine Kommentare:

Kommentar veröffentlichen