/** * Test for PROTOCOLS-89 */ @Test public void testImmutable() { POP3StartTlsResponse response = new POP3StartTlsResponse(POP3Response.OK_RESPONSE); assertThat(response).isInstanceOf(StartTlsResponse.class); assertThat(response.immutable()).isInstanceOf(StartTlsResponse.class); } }
/** * Test for PROTOCOLS-89 */ @Test public void testImmutable() { POP3StartTlsResponse response = new POP3StartTlsResponse(POP3Response.OK_RESPONSE); assertThat(response).isInstanceOf(StartTlsResponse.class); assertThat(response.immutable()).isInstanceOf(StartTlsResponse.class); } }