public final class SetTitle extends UpdateActionImpl<Review>
See also ReviewUpdateCommand.
withUpdateableReview(client(), (Review review) -> { final String title = randomKey(); final Review updatedReview = client().executeBlocking(ReviewUpdateCommand.of(review, SetTitle.of(title))); assertThat(updatedReview.getTitle()).isEqualTo(title); return updatedReview; });
See the test code.
Modifier and Type | Method and Description |
---|---|
String |
getTitle() |
static SetTitle |
of(String title) |
getAction