@Test
public void testExecuteActionsOnView_mapping_EDIT_MODE() throws Exception {

    Controller controller = spy(new Controller());
    Carpaccio.IN_EDIT_MODE = true;
    TextView textView = mock(TextView.class);
    doReturn("setText($user.name)").when(textView).getTag();
    doNothing().when(mappingManager).callMappingOnView(any(CarpaccioAction.class), any(View.class), anyObject());
    carpaccioManager.carpaccioViews.add(textView);
    carpaccioManager.registerControllers.add(controller);
    carpaccioManager.executeActionsOnView(textView);
    verify(controller, atLeastOnce()).setText(eq(textView), eq("$user.name"));
}