@Test
public void testRemoveTag() throws Exception {

    List<CarpaccioAction> carpaccioActions = new ArrayList<>();
    View view = mock(View.class);
    doReturn(carpaccioActions).when(view).getTag();
    carpaccioActions.add(new CarpaccioAction("setColor(red)"));
    carpaccioActions.add(new CarpaccioAction("setText(florent)"));
    carpaccioActions.add(new CarpaccioAction("setBackground(blue)"));
    List<CarpaccioAction> expected = new ArrayList<>();
    expected.add(new CarpaccioAction("setColor(red)"));
    expected.add(new CarpaccioAction("setBackground(blue)"));
    assertEquals(expected, CarpaccioHelper.removeTag(view, "setText(florent)"));
}