@Test public void testSetAreas() throws Exception { list = new ArrayList(); list.add(new OspfAreaImpl()); list.add(new OspfAreaImpl()); ospfProcess.setAreas(list); result = ospfProcess.areas(); assertThat(result.size(), is(2)); }
@JsonProperty("areas") public void setAreas(List<OspfArea> areas) { this.areas = areas; }
OspfProcessImpl implements OspfProcess { @JsonProperty("areas") public void setAreas(List<OspfArea> areas) { this.areas = areas; } }
OspfProcessImpl implements OspfProcess { @JsonProperty("areas") public void setAreas(List<OspfArea> areas) { this.areas = areas; }  }
OspfProcessImpl implements OspfProcess { @JsonProperty("areas") public void setAreas(List<OspfArea> areas) { this.areas = areas; }  List<OspfArea> areas(); @JsonProperty("areas") void setAreas(List<OspfArea> areas); String processId(); @JsonProperty("processId") void setProcessId(String processId); @Override String toString(); }
OspfProcessImpl implements OspfProcess { @JsonProperty("areas") public void setAreas(List<OspfArea> areas) { this.areas = areas; }  List<OspfArea> areas(); @JsonProperty("areas") void setAreas(List<OspfArea> areas); String processId(); @JsonProperty("processId") void setProcessId(String processId); @Override String toString();  }