@Test
public void testExecuteActionsOnViews_text_tagList() throws Exception {

    Controller controller = spy(new Controller());
    TextView textView = mock(TextView.class);
    doReturn("$user.name").when(textView).getText();
    List<CarpaccioAction> actions = new ArrayList<>();
    actions.add(new CarpaccioAction("setFont(font)"));
    doReturn(actions).when(textView).getTag();
    carpaccioManager.carpaccioViews.add(textView);
    carpaccioManager.registerControllers.add(controller);
    carpaccioManager.executeActionsOnViews();
    List<CarpaccioAction> expected = new ArrayList<>();
    expected.add(new CarpaccioAction("setFont(font)"));
    expected.add(new CarpaccioAction("setText($user.name)"));
    assertEquals(expected,textView.getTag());
}