### Question:
ContainerTask { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ContainerTask that = (ContainerTask) o; if (retries != that.retries) return false; if (action != that.action) return false; return microserviceUuid.equals(that.microserviceUuid); } ContainerTask(Tasks action, String microserviceUuid); Tasks getAction(); int getRetries(); String getMicroserviceUuid(); void incrementRetries(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testEquals() { ContainerTask newContainerTask = new ContainerTask(task, microserviceId); assertTrue(containerTask.equals(newContainerTask)); ContainerTask anotherTask = new ContainerTask(ContainerTask.Tasks.REMOVE_WITH_CLEAN_UP, microserviceId); assertFalse(containerTask.equals(anotherTask)); }