@Test public void minimalToString() { final int requestId = 123; final String name = "MyMagicMethod"; final RequestEntry e = new RequestEntry( requestId, name, false ); assertEquals( e.toString(), "Request(MyMagicMethod)[Id=123]" ); }
@Override public String toString() { if ( Replicant.areNamesEnabled() ) { return "Request(" + getName() + ")[Id=" + _requestId + "]"; } else { return super.toString(); } }
RequestEntry { @Override public String toString() { if ( Replicant.areNamesEnabled() ) { return "Request(" + getName() + ")[Id=" + _requestId + "]"; } else { return super.toString(); } } }
RequestEntry { @Override public String toString() { if ( Replicant.areNamesEnabled() ) { return "Request(" + getName() + ")[Id=" + _requestId + "]"; } else { return super.toString(); } } RequestEntry( final int requestId, @Nullable final String name, final boolean syncRequest ); }
RequestEntry { @Override public String toString() { if ( Replicant.areNamesEnabled() ) { return "Request(" + getName() + ")[Id=" + _requestId + "]"; } else { return super.toString(); } } RequestEntry( final int requestId, @Nullable final String name, final boolean syncRequest ); @Override String toString(); }
RequestEntry { @Override public String toString() { if ( Replicant.areNamesEnabled() ) { return "Request(" + getName() + ")[Id=" + _requestId + "]"; } else { return super.toString(); } } RequestEntry( final int requestId, @Nullable final String name, final boolean syncRequest ); @Override String toString();  }