tags:

views:

17

answers:

0

Hi,

In Typemock (the latest version), I want to write the following in code:

My method will throw an exception (caused if a collection is empty) (if there is a collection which is not empty, it will be returned in that case btw).

How can I do this? The method itself takes a func of (this is the SX API). This func seems to cause me problems, however.

Thanks