@Test public void getValues() throws Exception { final List<Object> actual = underTest.getValue(); assertThat(actual) .hasSize(4) .containsOnlyOnce("foo", "bar", "baz", "qux"); }
@Nonnull @Override public List<Object> getValue() { return ImmutableList.copyOf(value); }
JsonArray extends JsonValue { @Nonnull @Override public List<Object> getValue() { return ImmutableList.copyOf(value); } }
JsonArray extends JsonValue { @Nonnull @Override public List<Object> getValue() { return ImmutableList.copyOf(value); } JsonArray(@Nonnull List<Object> value); }
JsonArray extends JsonValue { @Nonnull @Override public List<Object> getValue() { return ImmutableList.copyOf(value); } JsonArray(@Nonnull List<Object> value); @Nonnull @Override TypeName getType(); @Nonnull @Override List<Object> getValue(); @Nonnull @CheckReturnValue Stream<JsonValue> stream(); }
JsonArray extends JsonValue { @Nonnull @Override public List<Object> getValue() { return ImmutableList.copyOf(value); } JsonArray(@Nonnull List<Object> value); @Nonnull @Override TypeName getType(); @Nonnull @Override List<Object> getValue(); @Nonnull @CheckReturnValue Stream<JsonValue> stream();  }