### Question:
MsoCommonUtils { protected MsoException runtimeExceptionToMsoException(RuntimeException e, String context) { MsoAdapterException me = new MsoAdapterException(e.getMessage(), e); me.addContext(context); me.setCategory(MsoExceptionCategory.INTERNAL); logger.error("{} {} An exception occured on {}: ", MessageEnum.RA_GENERAL_EXCEPTION_ARG, ErrorCode.DataError.getValue(), context, e); return me; }  T executeAndRecordOpenstackRequest(OpenStackRequest<T> request); MsoException keystoneErrorToMsoException(OpenStackBaseException e, String context); boolean isNullOrEmpty(String s);  }### Answer:
@Test public final void testRuntimeExceptionToMsoException() { RuntimeException re = new RuntimeException("runtime"); MsoException me = commonUtils.runtimeExceptionToMsoException(re, "ContextError"); assertTrue(me instanceof MsoAdapterException); assertTrue("ContextError".equals(me.getContext())); assertTrue(MsoExceptionCategory.INTERNAL.equals(me.getCategory())); }