AccountAddress implements Identity, Adaptor { public String getEncoded() { return getValue(); } AccountAddress(final String encoded);  AccountAddress(final BytesValue bytesValue); protected  AccountAddress(); static AccountAddress of(final String encoded); static AccountAddress of(final BytesValue bytesValue); @Override String toString(); String getEncoded(); @Override String getValue(); @SuppressWarnings("unchecked") @Override T adapt(final Class<T> adaptor); static final int ADDRESS_BYTE_LENGTH; static final byte ADDRESS_PREFIX; static final AccountAddress EMPTY; }
@Test public void shouldReturnEmptyStringOnEmptyOne() { assertEquals("", AccountAddress.EMPTY.getEncoded()); }