### Question:
AddPnfData { public void setCpData(List<PnfExtCpData> cpData) { this.cpData = cpData; }  String getPnfId(); void setPnfId(String pnfId); String getPnfName(); void setPnfName(String pnfName); String getPnfdId(); void setPnfdId(String pnfdId); String getPnfProfileId(); void setPnfProfileId(String pnfProfileId); List<PnfExtCpData> getCpData(); void setCpData(List<PnfExtCpData> cpData);  }### Answer:
@Test public void setCpData() { pnfData.setCpData(new List<PnfExtCpData>() { @Override public int size() { return 0; } @Override public boolean isEmpty() { return false; } @Override public boolean contains(Object o) { return false; } @Override public Iterator<PnfExtCpData> iterator() { return null; } @Override public Object[] toArray() { return new Object[0]; } @Override public <T> T[] toArray(T[] a) { return null; } @Override public boolean add(PnfExtCpData pnfExtCpData) { return false; } @Override public boolean remove(Object o) { return false; } @Override public boolean containsAll(Collection<?> c) { return false; } @Override public boolean addAll(Collection<? extends PnfExtCpData> c) { return false; } @Override public boolean addAll(int index, Collection<? extends PnfExtCpData> c) { return false; } @Override public boolean removeAll(Collection<?> c) { return false; } @Override public boolean retainAll(Collection<?> c) { return false; } @Override public void clear() { } @Override public PnfExtCpData get(int index) { return null; } @Override public PnfExtCpData set(int index, PnfExtCpData element) { return null; } @Override public void add(int index, PnfExtCpData element) { } @Override public PnfExtCpData remove(int index) { return null; } @Override public int indexOf(Object o) { return 0; } @Override public int lastIndexOf(Object o) { return 0; } @Override public ListIterator<PnfExtCpData> listIterator() { return null; } @Override public ListIterator<PnfExtCpData> listIterator(int index) { return null; } @Override public List<PnfExtCpData> subList(int fromIndex, int toIndex) { return null; } }); }