### Question:
CancelContactRequestUpdate extends Update { @Override public void applyUpdate(RepositorySet repositorySet) { repositorySet.userRepository.setIsRequesting(creator, false); } CancelContactRequestUpdate(@JsonProperty("time-created") Date timeCreated,
                                      @JsonProperty("creator") int creator); @Override void applyUpdate(RepositorySet repositorySet);  }### Answer:
@Test public void applyUpdate() throws Exception { CancelContactRequestUpdate update = new CancelContactRequestUpdate(date, creator1); update.applyUpdate(mockRepos); verify(mockUserRepository).setIsRequesting(creator1, false); }