@Test public void testResponseCodeExtension() { assertThat(StatusResponse.ResponseCode.createExtension("XEXTENSION") .getCode()).describedAs("Preserve names beginning with X").isEqualTo("XEXTENSION"); assertThat(StatusResponse.ResponseCode.createExtension("EXTENSION") .getCode()).describedAs("Correct other names").isEqualTo("XEXTENSION"); }