@Test
 public void wrongRulesInstanceOf() {
   RuleArgs ruleArgs = new TestRuleArgs();
   try {
     sut.process(ruleArgs);
     Assert.fail("arguments are not valid");
   } catch (RuleArgsInvalid e) {
     Assert.assertTrue(true);
   }
 }
  @Test
  public void argumentsAreEmpty() {
    RuleArgs ruleArgs = new RuleIntegerArgs();

    try {
      sut.process(ruleArgs);
      Assert.fail("arguments are not valid");
    } catch (RuleArgsInvalid e) {
      Assert.assertTrue(true);
    }
  }
  @Test
  public void argumentsLessThenTwo() {
    RuleArgs ruleArgs = new RuleIntegerArgs();
    String foo[] = {"one"};

    try {
      ruleArgs.setArgs(foo);
      sut.process(ruleArgs);
      Assert.fail("arguments are not valid");
    } catch (RuleArgsInvalid e) {
      Assert.assertTrue(true);
    }
  }