@Test
public void testTypeUnset() {

  rule.setType(null);
  expected.expect(IllegalArgumentException.class);
  expected.expectMessage("Rule type is undefined");
  ruleCreator.getMappingRules(description);
}