145146147148149150151152
public boolean matches(Object argument) { if (!(argument instanceof TasksDeleted)) { return false; } TasksDeleted deleted = (TasksDeleted) argument; return taskIds.equals(Tasks.ids(deleted.getTasks())); }