@Test
public void checkCreationByString()
        throws Exception {

    IObject obj = new DSObject("{\n" +
            "  \"value\": 1,\n" +
            "  \"string\": \"foo\"\n" +
            "}");
    assertNotNull(obj);
    assertEquals(1, obj.getValue(new FieldName("value")));
    assertEquals("foo", obj.getValue(new FieldName("string")));
}