Code coverage is an indicator and shouldn't be goal on its own. 

There's no value in testing setters. Test the behaviour. In this particular case you should verify the `matches()` method uses the expression set with `setExpression()`.