@Test public void testSetPersistenceUnit() { MetadataTask mdt = new MetadataTask(); assertNull(mdt.persistenceUnit); mdt.setPersistenceUnit("foobar"); assertEquals("foobar", mdt.persistenceUnit); }
public void setPersistenceUnit(String pU) { this.persistenceUnit = pU; }
MetadataTask { public void setPersistenceUnit(String pU) { this.persistenceUnit = pU; } }
MetadataTask { public void setPersistenceUnit(String pU) { this.persistenceUnit = pU; }  }
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(); }
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();  }