@Test(expected = IllegalArgumentException.class)
public void actionMethodMustReturnVoid() {

    ruleDefinitionValidator.validateRuleDefinition(new AnnotatedRuleWithActionMethodThatReturnsNonVoidType());
}