AbstractCommandUnmarshaller implements CommandUnmarshaller { protected String normalizeResponse(String responseData) { return responseData .replaceAll(ELM_WHITE, "") .replaceAll(ELM_CAN_BUS_SEPARATOR, "") .toUpperCase(); }    }
@Test(dataProvider = "responselues") public void normalizeResponseShouldNormalizeResponse(String responseToNormalize, String expectedResponse) { String normalizedResponse = sut.normalizeResponse(responseToNormalize); assertThat(normalizedResponse).isEqualTo(expectedResponse); }