Given the following example (using JUnit with Hamcrest matchers): Map<String, Class<? extends Serializable>> expected = null; Map<String, Class<java.util.Date>> result = null; assertThat(result, is(expected)); This does not compile with the JUnit assertThat method signature of: public static <T> void assertThat(T actual, Matcher<T> matcher) The compiler error message is: Error:Error:line (102)cannot find symbol method assertThat(java.util.Map<java.lang.String,java.lang.Class<java.util.Date>>, org.hamcrest.Matcher<java.util.Map<java.lang.String,java.lang.Class <? … Read more