@Test
public void createJsonRepresentationOfEmptyMutablePermissions() {

    final JsonValue actualJsonValue = underTest.toJson();
    final JsonObjectBuilder jsonObjectBuilder = JsonFactory.newObjectBuilder();
    for (final Permission permission : Permission.values()) {
        jsonObjectBuilder.set(permission.toJsonKey(), false);
    }
    final JsonObject expectedJsonObject = jsonObjectBuilder.build();
    assertThat(actualJsonValue).isEqualTo(expectedJsonObject);
}