@Test public void assertUnmarshalWithNullValue() { FooYamlConfiguration actual = YamlEngine.unmarshal(YAML_WITH_NULL, FooYamlConfiguration.class); assertThat(actual.getFoo(), is("foo")); assertNull(actual.getBar()); assertNull(actual.getNest()); }
public static <T> T unmarshal(final String yamlContent, final Class<T> classType) { return new Yaml().loadAs(yamlContent, classType); }
YamlEngine { public static <T> T unmarshal(final String yamlContent, final Class<T> classType) { return new Yaml().loadAs(yamlContent, classType); } }
YamlEngine { public static <T> T unmarshal(final String yamlContent, final Class<T> classType) { return new Yaml().loadAs(yamlContent, classType); }  }
YamlEngine { public static <T> T unmarshal(final String yamlContent, final Class<T> classType) { return new Yaml().loadAs(yamlContent, classType); }  static String marshal(final Object value); static T unmarshal(final String yamlContent, final Class<T> classType); static T unmarshal(final String prefix, final InputStream configFileInput, final Class<T> classType); }
YamlEngine { public static <T> T unmarshal(final String yamlContent, final Class<T> classType) { return new Yaml().loadAs(yamlContent, classType); }  static String marshal(final Object value); static T unmarshal(final String yamlContent, final Class<T> classType); static T unmarshal(final String prefix, final InputStream configFileInput, final Class<T> classType);  }