Project { public ExtensionModel getExtensionModel( String extension ) { return extensionModels.get( extension ); }  String getUrl(); void setUrl( String url ); String getName(); String getId(); void setId( String id ); String getDescription(); void setName( String name ); void setDescription( String description ); String getVersion(); void setVersion( String version ); String getScmUrl(); void setScmUrl( String scmUrl ); String getIssueTrackerUrl(); void setIssueTrackerUrl( String issueTrackerUrl ); ExtensionModel getExtensionModel( String extension ); Collection<ExtensionModel> getExtensionModels(); void addExtensionModel( ExtensionModel model ); void setSnapshotRepositoryUrl( String snapshotRepositoryUrl ); String getSnapshotRepositoryUrl(); void setRepositoryUrl( String repositoryUrl ); String getRepositoryUrl(); void setCiManagementUrl( String ciManagementUrl ); String getCiManagementUrl();  }
@Test public void testMissingExtensionModel() { Project project = new Project(); assert project.getExtensionModel( "bar" ) == null; }