### Question:
MetadataTask { public void setPersistenceUnit(String pU) { this.persistenceUnit = pU; }  void setPersistenceUnit(String pU); void setPropertyFile(File file); void setConfigFile(File file); void setType(String type); void addConfiguredFileSet(FileSet fileSet); MetadataDescriptor createMetadataDescriptor();  }### Answer:
@Test public void testSetPersistenceUnit() { MetadataTask mdt = new MetadataTask(); assertNull(mdt.persistenceUnit); mdt.setPersistenceUnit("foobar"); assertEquals("foobar", mdt.persistenceUnit); }