@Test public void notifyTermination() throws Exception { ContainerTerminationCallbackImpl c = new ContainerTerminationCallbackImpl(); c.notifyTermination("a", 0); assertEquals(c.containerId, "a"); assertEquals(c.exitCode, 0); }
@Override public void notifyTermination(String containerId, int exitCode) { this.containerId = containerId; this.exitCode = exitCode; }
ContainerTerminationCallbackImpl implements ContainerTerminationCallback { @Override public void notifyTermination(String containerId, int exitCode) { this.containerId = containerId; this.exitCode = exitCode; } }
ContainerTerminationCallbackImpl implements ContainerTerminationCallback { @Override public void notifyTermination(String containerId, int exitCode) { this.containerId = containerId; this.exitCode = exitCode; }  }
ContainerTerminationCallbackImpl implements ContainerTerminationCallback { @Override public void notifyTermination(String containerId, int exitCode) { this.containerId = containerId; this.exitCode = exitCode; }  @Override void notifyTermination(String containerId, int exitCode); }
ContainerTerminationCallbackImpl implements ContainerTerminationCallback { @Override public void notifyTermination(String containerId, int exitCode) { this.containerId = containerId; this.exitCode = exitCode; }  @Override void notifyTermination(String containerId, int exitCode); public String containerId; public int exitCode; }