ActionSetSourceIp extends ActionInfo { @Override public Action buildAction() { return buildAction(getActionKey()); } ActionSetSourceIp(String sourceIp);  ActionSetSourceIp(int actionKey, String sourceIp);  ActionSetSourceIp(String sourceIp, String sourceMask);  ActionSetSourceIp(int actionKey, String sourceIp, String sourceMask);  ActionSetSourceIp(Ipv4Prefix source);  ActionSetSourceIp(int actionKey, Ipv4Prefix source); @Override Action buildAction(); @Override Action buildAction(int newActionKey); Ipv4Prefix getSource(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }
@Test public void actionInfoTest() { verifyAction(new ActionSetSourceIp(IP_ADDRESS).buildAction()); verifyAction(new ActionSetSourceIp(IP_ADDRESS, IP_MASK).buildAction()); verifyAction(new ActionSetSourceIp(new Ipv4Prefix(IP_ADDRESS + "/" + IP_MASK)).buildAction()); }