ActionRegMove extends ActionInfo { @Override public Action buildAction() { return buildAction(getActionKey()); } ActionRegMove(Class<? extends NxmNxReg> register, int start, int end);  ActionRegMove(int actionKey, Class<? extends NxmNxReg> register, int start, int end); @Override Action buildAction(); @Override Action buildAction(int newActionKey); Class<? extends NxmNxReg> getRegister(); int getStart(); int getEnd(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }
@Test public void generateActionRegMove() { ActionInfo actionRegMove = new ActionRegMove(NxmNxReg1.class, 0, 2); actionRegMove.buildAction(); assertEquals("new ActionRegMove(0, org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.match" + ".rev140421.NxmNxReg1, 0, 2)", generator.getExpression(actionRegMove)); }