@Test public void testCopy() { Close close = new Close(); Close copyOf = close.copy(); assertNull(copyOf.getError()); close.setError(new ErrorCondition()); copyOf = close.copy(); assertNotNull(copyOf.getError()); }
@Override public Close copy() { return new Close(this); }
Close implements FrameBody { @Override public Close copy() { return new Close(this); } }
Close implements FrameBody { @Override public Close copy() { return new Close(this); } Close();  Close(Close other); }
Close implements FrameBody { @Override public Close copy() { return new Close(this); } Close();  Close(Close other); ErrorCondition getError(); void setError(ErrorCondition error); @Override void invoke(FrameBodyHandler<E> handler, Binary payload, E context); @Override String toString(); @Override Close copy(); }
Close implements FrameBody { @Override public Close copy() { return new Close(this); } Close();  Close(Close other); ErrorCondition getError(); void setError(ErrorCondition error); @Override void invoke(FrameBodyHandler<E> handler, Binary payload, E context); @Override String toString(); @Override Close copy();  }