@Test public void testSetListingLocation() { final File listingLocation = mock(File.class); adder.setListingLocation(listingLocation); assertThat(adder.getListingLocation()).isEqualTo(listingLocation); }
protected void setListingLocation(final File listingLocation) { if (listingLocation == null) throw new NullPointerException("Listing location cannot be null."); this.listingLocation = listingLocation; }
AbstractCompilerAdder { protected void setListingLocation(final File listingLocation) { if (listingLocation == null) throw new NullPointerException("Listing location cannot be null."); this.listingLocation = listingLocation; } }
AbstractCompilerAdder { protected void setListingLocation(final File listingLocation) { if (listingLocation == null) throw new NullPointerException("Listing location cannot be null."); this.listingLocation = listingLocation; }  }
AbstractCompilerAdder { protected void setListingLocation(final File listingLocation) { if (listingLocation == null) throw new NullPointerException("Listing location cannot be null."); this.listingLocation = listingLocation; }   }
AbstractCompilerAdder { protected void setListingLocation(final File listingLocation) { if (listingLocation == null) throw new NullPointerException("Listing location cannot be null."); this.listingLocation = listingLocation; }    }