Matcher.is is a deprecated method. I prefer to use equalTo comparison.