### Question:
ResourceChanges { public void setAffectedVnfs(List<AffectedVnf> affectedVnfs) { this.affectedVnfs = affectedVnfs; }  List<AffectedVnf> getAffectedVnfs(); void setAffectedVnfs(List<AffectedVnf> affectedVnfs); List<AffectedPnf> getAffectedPnfs(); void setAffectedPnfs(List<AffectedPnf> affectedPnfs); List<AffectedVirtualLink> getAffectedVls(); void setAffectedVls(List<AffectedVirtualLink> affectedVls); List<AffectedVnffg> getAffectedVnffgs(); void setAffectedVnffgs(List<AffectedVnffg> affectedVnffgs); List<AffectedNs> getAffectedNss(); void setAffectedNss(List<AffectedNs> affectedNss); List<AffectedSap> getAffectedSaps(); void setAffectedSaps(List<AffectedSap> affectedSaps);  }### Answer:
@Test public void setAffectedVnfs() { resourceChanges.setAffectedVnfs(new List<AffectedVnf>() { @Override public int size() { return 0; } @Override public boolean isEmpty() { return false; } @Override public boolean contains(Object o) { return false; } @Override public Iterator<AffectedVnf> iterator() { return null; } @Override public Object[] toArray() { return new Object[0]; } @Override public <T> T[] toArray(T[] a) { return null; } @Override public boolean add(AffectedVnf affectedVnf) { return false; } @Override public boolean remove(Object o) { return false; } @Override public boolean containsAll(Collection<?> c) { return false; } @Override public boolean addAll(Collection<? extends AffectedVnf> c) { return false; } @Override public boolean addAll(int index, Collection<? extends AffectedVnf> 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 AffectedVnf get(int index) { return null; } @Override public AffectedVnf set(int index, AffectedVnf element) { return null; } @Override public void add(int index, AffectedVnf element) { } @Override public AffectedVnf remove(int index) { return null; } @Override public int indexOf(Object o) { return 0; } @Override public int lastIndexOf(Object o) { return 0; } @Override public ListIterator<AffectedVnf> listIterator() { return null; } @Override public ListIterator<AffectedVnf> listIterator(int index) { return null; } @Override public List<AffectedVnf> subList(int fromIndex, int toIndex) { return null; } }); }