  @Test
  public void producesJsonNodeFromString() {

    final JsonNode node = ToggleJsonNode.fromString("{\"foo\": 4, \"bar\": true}");
    assertThat(node.isMissingNode()).isFalse();
    assertThat(node.fieldNames()).containsOnly("foo", "bar");
    assertThat(node.path("foo").intValue()).isEqualTo(4);
    assertThat(node.path("bar").booleanValue()).isTrue();
  }