### Question:
BaseEntity extends UniqueIdEntity implements BaseProjection, SetupFileProjection { public void setMetadata(@Nullable final JsonNode metadata) { this.metadata = metadata; } BaseEntity(); @Override Optional<String> getDescription(); void setDescription(@Nullable final String description); @Override Optional<JsonNode> getMetadata(); void setMetadata(@Nullable final JsonNode metadata); @Override Optional<FileEntity> getSetupFile(); void setSetupFile(@Nullable final FileEntity setupFile); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test void testSetMetadata() { Assertions.assertThat(this.b.getMetadata()).isNotPresent(); this.b.setMetadata(METADATA); Assertions.assertThat(this.b.getMetadata()).isPresent().contains(METADATA); this.b.setMetadata(null); Assertions.assertThat(this.b.getMetadata()).isNotPresent(); }