### Question:
UpdateRef extends AbstractGeoGigOp<Optional<Ref>> { public UpdateRef setName(String name) { this.name = name; return this; }  UpdateRef setName(String name); UpdateRef setNewValue(@Nullable ObjectId newValue); UpdateRef setOldValue(@Nullable ObjectId oldValue); UpdateRef setOldValue(String oldValue); UpdateRef setDelete(boolean delete); UpdateRef setReason(String reason, Object... formatArgs); UpdateRef setCheckObjectExists(boolean verifyValue);  }### Answer:
@Test public void testNoValue() { assertThrows(IllegalStateException.class, repo.command(UpdateRef.class).setName(Ref.MASTER)::call); }