### Question:
OpenStorefrontRuntimeException extends RuntimeException { public String getPotentialResolution() { return potentialResolution; } OpenStorefrontRuntimeException(String message, String potentialResolution, Throwable thrwbl, String errorTypeCode);  OpenStorefrontRuntimeException(String message, String potentialResolution, String errorTypeCode);  OpenStorefrontRuntimeException();  OpenStorefrontRuntimeException(String message);  OpenStorefrontRuntimeException(String message, String potentialResolution);  OpenStorefrontRuntimeException(String message, Throwable thrwbl);  OpenStorefrontRuntimeException(String message, Throwable thrwbl, String errorTypeCode);  OpenStorefrontRuntimeException(String message, String potentialResolution, Throwable thrwbl);  OpenStorefrontRuntimeException(Throwable thrwbl); String getPotentialResolution(); String getErrorTypeCode(); @Override String getLocalizedMessage();  }### Answer:
@Test public void testGetPotentialResolution() { LOG.info("getPotentialResolution"); LOG.info("Scenario 1: With Resolution"); OpenStorefrontRuntimeException instance = new OpenStorefrontRuntimeException("Test", "Check"); String expResult = "Check"; String result = instance.getPotentialResolution(); assertEquals(expResult, result); LOG.info("Scenario 2: Without Resolution"); instance = new OpenStorefrontRuntimeException("Test"); expResult = null; result = instance.getPotentialResolution(); assertEquals(expResult, result); }