UserDefinedFunctionImpl extends FunctionImpl implements UserDefinedFunction { @Override public KomodoType getTypeIdentifier( final UnitOfWork uow ) { return UserDefinedFunction.IDENTIFIER; } UserDefinedFunctionImpl( final UnitOfWork uow,
                                    final Repository repository,
                                    final String workspacePath ); @Override String getCategory( final UnitOfWork transaction ); @Override String getJavaClass( final UnitOfWork transaction ); @Override String getJavaMethod( final UnitOfWork transaction ); @Override Map< String, String > getStandardOptions(); @Override int getTypeId(); @Override KomodoType getTypeIdentifier( final UnitOfWork uow ); @Override Model getParent( final UnitOfWork transaction ); @Override boolean isStandardOption( final String name ); @Override void setCategory( final UnitOfWork transaction,
                             final String newCategory ); @Override void setJavaClass( final UnitOfWork transaction,
                              final String newJavaClass ); @Override void setJavaMethod( final UnitOfWork transaction,
                               final String newJavaMethod );  }
@Test public void shouldHaveCorrectTypeIdentifier() throws Exception { assertThat(this.function.getTypeIdentifier( getTransaction() ), is(KomodoType.USER_DEFINED_FUNCTION)); }