The simplest approach - as in WF35 - is to separate the implementation from the activity so that they can be checked independently of each other. Expanding activity is just a regular class, so use whatever is convenient for you. Most actions can be easily tested with WorklfowInvoker.
source share