@Test
public void collectingFieldValuesOfObjectReturnsExpectedArray() {

    final JsonArray expectedArray = JsonFactory.newArrayBuilder() //
            .add(ID) //
            .add(STATE) //
            .add(MANUFACTURER) //
            .build();
    final JsonArray actualArray = KNOWN_JSON_OBJECT.stream() //
            .collect(JsonCollectors.fieldValuesToArray());
    DittoJsonAssertions.assertThat(actualArray).isEqualTo(expectedArray);
}