@Test
public void testDefaultEncoder_haveSuperClass() {

  Map<String, Object> expected = new HashMap<>();
  expected.put("page", 1);
  expected.put("size", 10);
  expected.put("query", "queryString");
  SubClass subClass = new SubClass();
  subClass.setPage(1);
  subClass.setSize(10);
  subClass.setQuery("queryString");
  Map<String, Object> encodedMap = encoder.encode(subClass);
  assertEquals("Unexpected encoded query map", expected, encodedMap);
}