### Question:
HapticInterfaceManager { public void setHapticData(List<HapticRect> hapticData) { userHapticData = hapticData; if(proxyHolder.get() != null) { ISdl proxy = proxyHolder.get(); SendHapticData msg = new SendHapticData(); msg.setHapticRectData(userHapticData); proxy.sendRPCRequest(msg); } } HapticInterfaceManager(ISdl proxy); void setHapticData(List<HapticRect> hapticData); void refreshHapticData(View root);  }### Answer:
@Test public void testSetHapticData() throws Exception { List<HapticRect> rects = new ArrayList<>(); Rectangle rect = new Rectangle(); rect.setX(10f); rect.setY(10f); rect.setWidth(50f); rect.setHeight(20f); HapticRect hRect = new HapticRect(); hRect.setRect(rect); rects.add(hRect); hapticMgr.setHapticData(rects); verify(mockProxy).sendRPCRequest(any(SendHapticData.class)); }