VirtualProcedureImpl extends AbstractProcedureImpl implements VirtualProcedure { @Override public KomodoType getTypeIdentifier( final UnitOfWork transaction ) { return VirtualProcedure.IDENTIFIER; } VirtualProcedureImpl( final UnitOfWork uow,
                                 final Repository repository,
                                 final String workspacePath ); @Override String getAsClauseStatement( final UnitOfWork uow ); @Override KomodoType getTypeIdentifier( final UnitOfWork transaction ); @Override Model getParent( final UnitOfWork transaction ); @Override void setAsClauseStatement( final UnitOfWork uow,
                                      final String newStatement );  }
@Test public void shouldHaveCorrectTypeIdentifier() throws Exception { assertThat(this.procedure.getTypeIdentifier( getTransaction() ), is(KomodoType.VIRTUAL_PROCEDURE)); }