@Test
public void toJsonWithAllFieldsSetV2() {

    final CountThings command = CountThings.of(TestConstants.KNOWN_FILTER_STR,
            TestConstants.KNOWN_NAMESPACES_SET, DittoHeaders.empty());
    final String json = command.toJsonString();
    assertThat(json).isEqualTo(JSON_ALL_FIELDS_V2);
}