### Question:
ProjectServiceImpl extends ServiceSupport implements ProjectService { public <T extends AbstractProject<?, ?>> T copyProject(final T src, final String targetProjectName) throws ServiceRuntimeException { checkNotNull(src, AbstractProject.class); checkProjectName(targetProjectName); this.securityService.checkPermission(Item.CREATE); this.securityService.checkPermission(src, Item.EXTENDED_READ); if (projectExists(targetProjectName)) { throw new SystemIntegrityViolationException(String.format("Project %s already exists.", targetProjectName)); } try { return getHudson().copy(src, targetProjectName); } catch (IOException ex) { throw new ServiceRuntimeException(String.format("Project copy failed from %s to %s", src.getName(), targetProjectName), ex); } } @Inject  ProjectServiceImpl(final SecurityService securityService); AbstractProject<?, ?> getProject(final UUID id); AbstractProject<?, ?> getProject(final String projectName); AbstractProject<?, ?> getProjectByFullName(final String projectName); AbstractProject<?, ?> findProject(final UUID id); AbstractProject<?, ?> findProject(final String projectName); AbstractProject<?, ?> findProjectByFullName(final String projectName); @SuppressWarnings("rawtypes") List<AbstractProject> getAllProjects(); T copyProject(final T src, final String targetProjectName); TopLevelItem createProjectFromXML(final String projectName, final InputStream xml); boolean projectExists(final String projectName); Collection<String> getProjectNames();  }### Answer:
@Test(expected = NullPointerException.class) public void copyProjectNullArg1() { getInst().copyProject(null, "toProject"); }
@Test(expected = NullPointerException.class) public void copyProjectNullArg2() { getInst().copyProject(project, null); }