### Question:
JpaSource implements RepositorySource, ObjectFactory { public String getModel() { return modelName; }  String getName(); void setName( String name ); RepositorySourceCapabilities getCapabilities(); @Description( i18n = JpaConnectorI18n.class, value = "updatesAllowedPropertyDescription" ) @Label( i18n = JpaConnectorI18n.class, value = "updatesAllowedPropertyLabel" ) @Category( i18n = JpaConnectorI18n.class, value = "updatesAllowedPropertyCategory" ) boolean areUpdatesAllowed(); synchronized void setAllowsUpdates( boolean allowsUpdates ); boolean getShowSql(); synchronized void setShowSql( boolean showSql ); String getAutoGenerateSchema(); synchronized void setAutoGenerateSchema( String autoGenerateSchema ); int getRetryLimit(); synchronized void setRetryLimit( int limit ); int getCacheTimeToLiveInMilliseconds(); synchronized void setCacheTimeToLiveInMilliseconds( int cacheTimeToLive ); CachePolicy getCachePolicy(); EntityManagers getEntityManagers(); String getRootNodeUuid(); UUID getRootUuid(); void setRootNodeUuid( String rootNodeUuid ); String getDefaultWorkspaceName(); synchronized void setDefaultWorkspaceName( String nameOfDefaultWorkspace ); synchronized String[] getPredefinedWorkspaceNames(); synchronized void setPredefinedWorkspaceNames( String[] predefinedWorkspaceNames ); @Description( i18n = JpaConnectorI18n.class, value = "creatingWorkspacesAllowedPropertyDescription" ) @Label( i18n = JpaConnectorI18n.class, value = "creatingWorkspacesAllowedPropertyLabel" ) @Category( i18n = JpaConnectorI18n.class, value = "creatingWorkspacesAllowedPropertyCategory" ) boolean isCreatingWorkspacesAllowed(); synchronized void setCreatingWorkspacesAllowed( boolean allowWorkspaceCreation ); String getDialect(); synchronized void setDialect( String dialect ); String getDataSourceJndiName(); void setDataSourceJndiName( String dataSourceJndiName ); String getDriverClassName(); synchronized void setDriverClassName( String driverClassName ); String getDriverClassloaderName(); void setDriverClassloaderName( String driverClassloaderName ); String getUsername(); synchronized void setUsername( String username ); String getPassword(); synchronized void setPassword( String password ); String getUrl(); synchronized void setUrl( String url ); int getMaximumConnectionsInPool(); synchronized void setMaximumConnectionsInPool( int maximumConnectionsInPool ); int getMinimumConnectionsInPool(); synchronized void setMinimumConnectionsInPool( int minimumConnectionsInPool ); int getMaximumConnectionIdleTimeInSeconds(); synchronized void setMaximumConnectionIdleTimeInSeconds( int maximumConnectionIdleTimeInSeconds ); int getMaximumSizeOfStatementCache(); synchronized void setMaximumSizeOfStatementCache( int maximumSizeOfStatementCache ); int getNumberOfConnectionsToAcquireAsNeeded(); synchronized void setNumberOfConnectionsToAcquireAsNeeded( int numberOfConnectionsToAcquireAsNeeded ); int getIdleTimeInSecondsBeforeTestingConnections(); synchronized void setIdleTimeInSecondsBeforeTestingConnections( int idleTimeInSecondsBeforeTestingConnections ); String getModel(); synchronized void setModel( String modelName ); long getLargeValueSizeInBytes(); void setLargeValueSizeInBytes( long largeValueSizeInBytes ); boolean isCompressData(); void setCompressData( boolean compressData ); boolean isReferentialIntegrityEnforced(); void setReferentialIntegrityEnforced( boolean referentialIntegrityEnforced ); Integer getIsolationLevel(); synchronized void setIsolationLevel( Integer isolationLevel ); void initialize( RepositoryContext context ); Reference getReference(); RepositoryContext getRepositoryContext(); Object getObjectInstance( Object obj,
                                     javax.naming.Name name,
                                     Context nameCtx,
                                     Hashtable<?, ?> environment ); synchronized RepositoryConnection getConnection(); synchronized void close(); static final boolean DEFAULT_ALLOWS_UPDATES; static final boolean DEFAULT_SHOW_SQL; static final boolean DEFAULT_SUPPORTS_CREATING_WORKSPACES; static final String DEFAULT_ROOT_NODE_UUID; static final String DEFAULT_NAME_OF_DEFAULT_WORKSPACE; static final String DEFAULT_AUTO_GENERATE_SCHEMA; }### Answer:
@Test public void shouldHaveNoDefaultModelUponConstruction() { JpaSource source = new JpaSource(); assertThat(source.getModel(), is(nullValue())); }