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

    ruleDefinitionValidator.validateRuleDefinition(new AnnotatedRuleWithPriorityMethodHavingArguments());
}