public void testValidate() throws Exception {
Validator v = new MapValidator();
assertFalse(v.validate(null).passed());
assertFalse(v.validate(new LinkedList<Integer>()).passed());
assertFalse(v.validate(9001).passed());
assertFalse(v.validate("foo").passed());
Map<String, String> actuallyFilledMap = new TreeMap<String, String>();
actuallyFilledMap.put("foo", "bar");
actuallyFilledMap.put("lol", "wut");