/**
   * Test of 'public static Field getField(Class<?> clazz, String fieldname, Class<?> fieldtype)'
   * method, of class ReflectionHelper.
   */
  @Test
  public void shouldGetAField() throws Exception {
    System.out.println(
        "public static Field getField(Class<?> clazz, String fieldname, Class<?> fieldtype)");

    File cut = new File("pom.xml");
    Field pathField = ReflectionHelper.getField(File.class, "path", String.class);
    assertThat(pathField, notNullValue());
    assertThat(pathField.getName(), equalTo("path"));

    pathField.setAccessible(true);
    assertThat(pathField.get(cut), equalTo("pom.xml"));
  }