### Question:
ResponseWrapper extends Wrapper { @Override public void setOperationInfo(final OperationInfo op) { super.setOperationInfo(op); MessagePartInfo mpi = op.getOutput().getFirstMessagePart(); setName(mpi.getElementQName()); setClassName((String)mpi.getProperty("RESPONSE.WRAPPER.CLASSNAME")); }  @Override void setOperationInfo(final OperationInfo op); @Override boolean isWrapperAbsent(final Method method); String getWrapperTns(Method method); @Override WrapperBeanClass getWrapperBeanClass(final Method method);  }### Answer:
@Test public void testWithAnnotationWithClass() throws Exception { String pkgName = "org.apache.cxf.tools.fortest.withannotation.doc"; Class<?> testingClass = Class.forName(pkgName + ".Greeter"); OperationInfo opInfo = getOperation(testingClass, "sayHi"); Wrapper wrapper = new ResponseWrapper(); wrapper.setOperationInfo(opInfo); assertEquals(pkgName, wrapper.getJavaClass().getPackageName()); assertEquals("SayHiResponse", wrapper.getJavaClass().getName()); }