### Question:
JdbcMetadataRepository extends Repository<PathNode, JdbcMetadataWorkspace> { @Override public JdbcMetadataTransaction startTransaction( ExecutionContext context, boolean readonly ) { return new JdbcMetadataTransaction(this, source.getRootNodeUuidObject()); } JdbcMetadataRepository( JdbcMetadataSource source ); @Override JdbcMetadataTransaction startTransaction( ExecutionContext context,
                                                     boolean readonly ); final static String TABLES_SEGMENT_NAME; final static String PROCEDURES_SEGMENT_NAME; }### Answer:
@Test( expected = InvalidWorkspaceException.class ) public void shouldNotReturnInvalidWorkspace() { JdbcMetadataTransaction txn = repository.startTransaction(context, true); workspace = txn.getWorkspace(source.getDefaultWorkspaceName() + "Invalid", null); }