public void testVisit_IfElifElifElse_2CssElIfAnd1CssElseInElseNodes() {
// given
CssIf elifNode0 = mockCssIf(0);
CssIf elifNode1 = mockCssIf(1);
when(elifNode0.getElseNodes()).thenReturn(Arrays.<CssNode>asList(elifNode1));
CssNode elseRule = new CssRule();
when(elifNode1.getElseNodes()).thenReturn(Arrays.<CssNode>asList(elseRule));
elseNodes.add(elifNode0);
// when
elseNodeCreator.visit(cssIf, null);