null, null, null, null, null)));
}
@Test
public void testShouldEncodeFlagsResponse() throws Exception {
FetchResponse message = new FetchResponse(100, flags, null, null, null, null,
null, null, null, null);
encoder.doEncode(message, composer, new FakeImapSession());
assertEquals("* 100 FETCH (FLAGS (\\Deleted))\r\n", writer.getString());