Hi,
with JMock1.2 it would probably work, if I had no list ...
one(mocked).method(with(aPropertyValuesAsMatcher(expected)));
@Factory
public Matcher<List<Entity>> aPropertyValuesAsMatcher(
final List<Entity> expected) {
return new SamePropertyValuesAs<List<Entity>>(expected);
}
some Ideas?
wkr T. (Thomas)
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email