* Test that if the map contains Object and String then everything apart
* from String returns the value associated with Object.
*/
public void testString() {
MostSpecificClassMap map = new MostSpecificClassMap();
map.put(Object.class, "Object");
map.put(String.class, "String");
assertEquals("Object", map.get(Object.class));
assertEquals("String", map.get(String.class));
assertEquals("Object", map.get(Integer.class));
}