@Test
public void testToStrings() {

  MappingRuleAction action = new MappingRuleActions.PlaceToQueueAction(
      "queue", true);
  MappingRuleMatcher matcher = MappingRuleMatchers.createUserMatcher("bob");
  MappingRule rule = new MappingRule(matcher, action);
  assertEquals("MappingRule{matcher=" + matcher.toString() +
      ", action=" + action.toString() + "}", rule.toString());
}