main/src/test/java/org/onap/policy/pap/main/rest/e2e/End2EndContext.java
/**
     * Adds a simulated PDP. This must be called before {@link #startThreads()} is
     * invoked.
     *
     * @param pdpName PDP name
     * @param pdpType PDP type
     * @return a new, simulated PDP
     * @throws IllegalStateException if {@link #startThreads()} has already been invoked
     */
Adds a simulated PDP. This must be called before  #startThreads() is
invoked.

@param pdpName PDP name
@param pdpType PDP type
@return a new, simulated PDP
@throws IllegalStateException if  #startThreads() has already been invoked
Adds a simulated PDP . This must be called before #startThreads () is invoked . @param pdpName PDP name @param pdpType PDP type @return a new simulated PDP @throws IllegalStateException if #startThreads () has already been invoked
public PseudoPdp addPdp(String pdpName, String pdpType) {
        if (running) {
            throw new IllegalStateException("not running");
        }
        PseudoPdp pdp = new PseudoPdp(pdpName);
        pdps.add(pdp);
        return pdp;
    }
public PseudoPdp addPdp ( String pdpName , String pdpType ) { if ( running ) { throw new IllegalStateException ( "not running" ) ; } PseudoPdp pdp = new PseudoPdp ( pdpName ) ; pdps . add ( pdp ) ; return pdp ; }
Adds a simulated PDP.
Adds a simulated PDP .