@Test
public void testCloneWithUnsupportedClass() {

    RuleModel model = new RuleModel();
    model.addLhsItem( new TestFactPattern() );
    RuleModelCloneVisitor visitor = new RuleModelCloneVisitor();
    thrown.expect( RuntimeException.class );
    thrown.expectMessage( TestFactPattern.class.getSimpleName() );
    visitor.visitRuleModel( model );
}