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