public Deployment deploy ( final RepositoryService repositoryService ) { return new DeployProcess ( repositoryService ) . apply ( processId , flowNodeBuilder . endEvent ( "end" ) . done ( ) ) ; }
This will deploy the mock process .