@Test
    public void shouldReturnStringFieldObject() throws Exception {
      String xsd =
          "<root available-locales=\"en_US\" default-locale=\"en_US\"> "
              + "<dynamic-element "
              + "dataType=\"boolean\" "
              + "type=\"checkbox\" "
              + "name=\"A_Bool\" > "
              + "<meta-data locale=\"en_US\"> "
              + "<entry name=\"predefinedValue\"><![CDATA[false]]></entry> "
              + "</meta-data> "
              + "</dynamic-element>"
              + "</root>";

      List<Field> resultList = new XSDParser().parse(xsd, _usLocale);

      assertNotNull(resultList);
      assertEquals(1, resultList.size());

      Field resultField = resultList.get(0);
      assertTrue(resultField instanceof BooleanField);
      BooleanField booleanField = (BooleanField) resultField;

      assertEquals(Field.DataType.BOOLEAN.getValue(), booleanField.getDataType().getValue());
      assertEquals(Field.EditorType.CHECKBOX.getValue(), booleanField.getEditorType().getValue());
      assertEquals("A_Bool", booleanField.getName());
      assertFalse(booleanField.getCurrentValue());
      assertFalse(booleanField.getPredefinedValue());
    }