@Test public void encoderShouldIncludeListCommand() throws Exception { encoder.encode(new ListResponse(MailboxMetaData.Children.HAS_CHILDREN, MailboxMetaData.Selectability.NONE, "name", '.'), composer); assertThat(writer.getString()).startsWith("* LIST"); }
@Override public void encode(ListResponse response, ImapResponseComposer composer) throws IOException { ListingEncodingUtils.encodeListingResponse(ImapConstants.LIST_COMMAND, composer, response); }
ListResponseEncoder implements ImapResponseEncoder<ListResponse> { @Override public void encode(ListResponse response, ImapResponseComposer composer) throws IOException { ListingEncodingUtils.encodeListingResponse(ImapConstants.LIST_COMMAND, composer, response); } }
ListResponseEncoder implements ImapResponseEncoder<ListResponse> { @Override public void encode(ListResponse response, ImapResponseComposer composer) throws IOException { ListingEncodingUtils.encodeListingResponse(ImapConstants.LIST_COMMAND, composer, response); }  }
ListResponseEncoder implements ImapResponseEncoder<ListResponse> { @Override public void encode(ListResponse response, ImapResponseComposer composer) throws IOException { ListingEncodingUtils.encodeListingResponse(ImapConstants.LIST_COMMAND, composer, response); }  @Override Class<ListResponse> acceptableMessages(); @Override void encode(ListResponse response, ImapResponseComposer composer); }
ListResponseEncoder implements ImapResponseEncoder<ListResponse> { @Override public void encode(ListResponse response, ImapResponseComposer composer) throws IOException { ListingEncodingUtils.encodeListingResponse(ImapConstants.LIST_COMMAND, composer, response); }  @Override Class<ListResponse> acceptableMessages(); @Override void encode(ListResponse response, ImapResponseComposer composer);  }