danhaywood/java-testsupport — pull request #1 by witoldsz (2012-07-24 09:23:48+00:00)
Title: Update testsupport/src/main/java/com/danhaywood/testsupport/jmock/JUnitR...

With this change we can avoid writing extra casting:
```java

@ClassUnderTest
private Collaborating collaborating;

//before ---------------------------
public void setUp() throws Exception {
collaborating = (Collaborating) context.getClassUnderTest();
}

//after ---------------------------
public void setUp() throws Exception {
collaborating = context.getClassUnderTest();
}
```
source: http://java.dzone.com/articles/mockito-automocking-and