NamespaceResponseEncoder implements ImapResponseEncoder<NamespaceResponse> { @Override public Class<NamespaceResponse> acceptableMessages() { return NamespaceResponse.class; }  @Override Class<NamespaceResponse> acceptableMessages(); @Override void encode(NamespaceResponse response, ImapResponseComposer composer);  }
@Test public void testNamespaceResponseIsAcceptable() { assertThat(subject.acceptableMessages()).isEqualTo(NamespaceResponse.class); }