### Question:
RMContextUtils { public static AddressingProperties retrieveMAPs(Message message, boolean isProviderContext, boolean isOutbound) { return org.apache.cxf.ws.addressing.ContextUtils.retrieveMAPs(message, isProviderContext, isOutbound); } protected  RMContextUtils(); static String generateUUID(); static boolean isServerSide(Message message); static boolean isRMProtocolMessage(String action); static RMProperties retrieveRMProperties(Message message, boolean outbound); static void storeRMProperties(Message message, RMProperties rmps, boolean outbound); static AddressingProperties retrieveMAPs(Message message,
                                                    boolean isProviderContext,
                                                    boolean isOutbound); static void storeMAPs(AddressingProperties maps, Message message, boolean isOutbound,
                                 boolean isRequestor); static String getRMPropertiesKey(boolean outbound); static ProtocolVariation getProtocolVariation(Message message); static void setProtocolVariation(Message message, ProtocolVariation protocol);  }### Answer:
@Test public void testRetrieveMAPs() { Message msg = control.createMock(Message.class); EasyMock.expect(msg.get(Message.REQUESTOR_ROLE)).andReturn(Boolean.TRUE); AddressingProperties maps = control.createMock(AddressingProperties.class); EasyMock.expect(msg.get(JAXWSAConstants.ADDRESSING_PROPERTIES_OUTBOUND)).andReturn(maps); control.replay(); assertSame(maps, RMContextUtils.retrieveMAPs(msg, false, true)); }