@Test
  public void testEnumDependencyObjectGraph() throws TemplateModelException {

    GetEnumDependenciesMethod getEnumDependenciesMethod =
        new GetEnumDependenciesMethod(DataModelSetup.getData().getEnum());

    List value = (List) getEnumDependenciesMethod.exec(Collections.emptyList());

    assertEquals(2, value.size());
    assertEquals("UserType", value.get(0));
    assertEquals("PostType", value.get(1));
  }
 @Test
 public void testMethodMap() {
   Map<String, Object> map =
       GetEnumDependenciesMethod.getMethodMap(DataModelSetup.getData().getEnum());
   assertThat(map.get("getEnumDependencies"), instanceOf(GetEnumDependenciesMethod.class));
 }