@Test void testSetDescription() { Assertions.assertThat(this.b.getDescription()).isNotPresent(); final String description = "Test description"; this.b.setDescription(description); Assertions.assertThat(this.b.getDescription()).isPresent().contains(description); }
public void setDescription(@Nullable final String description) { this.description = description; }
BaseEntity extends UniqueIdEntity implements BaseProjection, SetupFileProjection { public void setDescription(@Nullable final String description) { this.description = description; } }
BaseEntity extends UniqueIdEntity implements BaseProjection, SetupFileProjection { public void setDescription(@Nullable final String description) { this.description = description; } BaseEntity(); }
BaseEntity extends UniqueIdEntity implements BaseProjection, SetupFileProjection { public void setDescription(@Nullable final String description) { this.description = description; } 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(); }
BaseEntity extends UniqueIdEntity implements BaseProjection, SetupFileProjection { public void setDescription(@Nullable final String description) { this.description = description; } 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();  }