@Test
public void toJsonReturnsExpectedWithNamespace() {

    final RetrieveThings underTest =
            RetrieveThings.getBuilder(getThingIdsWithDistinctNamespace()).namespace("example.com").build();
    final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
    assertThat(actualJson).isEqualTo(KNOWN_JSON_WITH_DISTINCT_NAMESPACE);
}