// Path: src/main/java/org/jenkinsci/plugins/pretestedintegration/AbstractSCMBridge.java
// public abstract class AbstractSCMBridge implements Describable<AbstractSCMBridge>, ExtensionPoint {
//     private static final Logger LOGGER = Logger.getLogger(AbstractSCMBridge.class.getName());
// 
// 
//     /**
//      * Information about the result of the integration (Unknown, Conflict, Build, Push).
//      * @return the integration branch name
//      */
//     protected abstract String getIntegrationBranch();
// 
//     /**
//      * The integration strategy.
//      * This is the strategy applied to merge pretested commits into the integration integrationBranch.
//      */
//     public final IntegrationStrategy integrationStrategy;
// 
//     protected final static String LOG_PREFIX = "[PREINT] ";
// 
//     /**
//      * Constructor for the SCM bridge.
//      *
//      * @param integrationStrategy The integration strategy to apply when merging commits.
//      */
//     public AbstractSCMBridge(IntegrationStrategy integrationStrategy ) {
//         this.integrationStrategy = integrationStrategy;
//     }
// 
//     /**
//      * Validates the configuration of the Jenkins Job.
//      * Throws an exception when the configuration is invalid.
//      *
//      * @param project The Project
//      * @throws UnsupportedConfigurationException Mismatch in job configuration
//      */
//     public void validateConfiguration(AbstractProject<?, ?> project) throws UnsupportedConfigurationException {
//     }
// 
//         /**
//          * @return all the SCM Bridge Descriptors
//          */
//     public static DescriptorExtensionList<AbstractSCMBridge, SCMBridgeDescriptor<AbstractSCMBridge>> all() {
//         return Jenkins.getInstance().<AbstractSCMBridge, SCMBridgeDescriptor<AbstractSCMBridge>>getDescriptorList(AbstractSCMBridge.class);
//     }
// 
//     /**
//      * @return all the Integration Strategy Descriptors
//      */
//     public static List<IntegrationStrategyDescriptor<?>> getBehaviours() {
//         return new ArrayList<>(IntegrationStrategy.all());
//     }
// 
//     /**
//     * {@inheritDoc}
//     */
//     @Override
//     public Descriptor<AbstractSCMBridge> getDescriptor() {
//         return (SCMBridgeDescriptor<?>) Jenkins.getInstance().getDescriptorOrDie(getClass());
//     }
// 
//     /**
//      * @return all the SCM Bridge Descriptors
//      */
//     public static List<SCMBridgeDescriptor<?>> getDescriptors() {
//         return new ArrayList<>(all());
//     }
// 
//     /**
//      * @param environment environment
//      * @return The Integration Branch name as variable expanded if possible - otherwise return integrationBranch
//      */
//     public String getExpandedIntegrationBranch(EnvVars environment) {
//         return environment.expand(getIntegrationBranch());
//     }
// 
//     /***
//      * @return The required result
//      */
//     public static Result getRequiredResult() {
//         return Result.SUCCESS;
//     }
// }
// 
// Path: src/main/java/org/jenkinsci/plugins/pretestedintegration/exceptions/EstablishingWorkspaceFailedException.java
// public class EstablishingWorkspaceFailedException extends IOException {
// 
//     /**
//      * Constructor for EstablishingWorkspaceFailedException
//      * @param cause The causal Exception.
//      */
//     public EstablishingWorkspaceFailedException(Exception cause) {
//         super("Failed to establish workspace. Trace written to log", cause);
//     }
// }
// 
// Path: src/main/java/org/jenkinsci/plugins/pretestedintegration/IntegrationStrategy.java
// public abstract class IntegrationStrategy implements Describable<IntegrationStrategy>, ExtensionPoint {
// 
//     /**
//     * {@inheritDoc}
//     */
//     @Override
//     public Descriptor<IntegrationStrategy> getDescriptor() {
//         return (IntegrationStrategyDescriptor<?>) Jenkins.getInstance().getDescriptorOrDie(getClass());
//     }
// 
//     /**
//      * @return All Integration Strategy descriptors
//      */
//     public static DescriptorExtensionList<IntegrationStrategy, IntegrationStrategyDescriptor<IntegrationStrategy>> all() {
//         return Jenkins.getInstance().<IntegrationStrategy, IntegrationStrategyDescriptor<IntegrationStrategy>>getDescriptorList(IntegrationStrategy.class);
//     }
// }


import hudson.Launcher;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import java.io.IOException;
import org.jenkinsci.plugins.pretestedintegration.AbstractSCMBridge;
import org.jenkinsci.plugins.pretestedintegration.exceptions.EstablishingWorkspaceFailedException;
import org.jenkinsci.plugins.pretestedintegration.IntegrationStrategy;
package org.jenkinsci.plugins.pretestedintegration.unit;


public class DummyBridge extends AbstractSCMBridge {

    public DummyBridge(IntegrationStrategy behaves) {
        super(behaves);
    }

    @Override
    protected String getIntegrationBranch() {
// Path: src/main/java/org/jenkinsci/plugins/pretestedintegration/AbstractSCMBridge.java
// public abstract class AbstractSCMBridge implements Describable<AbstractSCMBridge>, ExtensionPoint {
//     private static final Logger LOGGER = Logger.getLogger(AbstractSCMBridge.class.getName());
// 
// 
//     /**
//      * Information about the result of the integration (Unknown, Conflict, Build, Push).
//      * @return the integration branch name
//      */
//     protected abstract String getIntegrationBranch();
// 
//     /**
//      * The integration strategy.
//      * This is the strategy applied to merge pretested commits into the integration integrationBranch.
//      */
//     public final IntegrationStrategy integrationStrategy;
// 
//     protected final static String LOG_PREFIX = "[PREINT] ";
// 
//     /**
//      * Constructor for the SCM bridge.
//      *
//      * @param integrationStrategy The integration strategy to apply when merging commits.
//      */
//     public AbstractSCMBridge(IntegrationStrategy integrationStrategy ) {
//         this.integrationStrategy = integrationStrategy;
//     }
// 
//     /**
//      * Validates the configuration of the Jenkins Job.
//      * Throws an exception when the configuration is invalid.
//      *
//      * @param project The Project
//      * @throws UnsupportedConfigurationException Mismatch in job configuration
//      */
//     public void validateConfiguration(AbstractProject<?, ?> project) throws UnsupportedConfigurationException {
//     }
// 
//         /**
//          * @return all the SCM Bridge Descriptors
//          */
//     public static DescriptorExtensionList<AbstractSCMBridge, SCMBridgeDescriptor<AbstractSCMBridge>> all() {
//         return Jenkins.getInstance().<AbstractSCMBridge, SCMBridgeDescriptor<AbstractSCMBridge>>getDescriptorList(AbstractSCMBridge.class);
//     }
// 
//     /**
//      * @return all the Integration Strategy Descriptors
//      */
//     public static List<IntegrationStrategyDescriptor<?>> getBehaviours() {
//         return new ArrayList<>(IntegrationStrategy.all());
//     }
// 
//     /**
//     * {@inheritDoc}
//     */
//     @Override
//     public Descriptor<AbstractSCMBridge> getDescriptor() {
//         return (SCMBridgeDescriptor<?>) Jenkins.getInstance().getDescriptorOrDie(getClass());
//     }
// 
//     /**
//      * @return all the SCM Bridge Descriptors
//      */
//     public static List<SCMBridgeDescriptor<?>> getDescriptors() {
//         return new ArrayList<>(all());
//     }
// 
//     /**
//      * @param environment environment
//      * @return The Integration Branch name as variable expanded if possible - otherwise return integrationBranch
//      */
//     public String getExpandedIntegrationBranch(EnvVars environment) {
//         return environment.expand(getIntegrationBranch());
//     }
// 
//     /***
//      * @return The required result
//      */
//     public static Result getRequiredResult() {
//         return Result.SUCCESS;
//     }
// }
// 
// Path: src/main/java/org/jenkinsci/plugins/pretestedintegration/exceptions/EstablishingWorkspaceFailedException.java
// public class EstablishingWorkspaceFailedException extends IOException {
// 
//     /**
//      * Constructor for EstablishingWorkspaceFailedException
//      * @param cause The causal Exception.
//      */
//     public EstablishingWorkspaceFailedException(Exception cause) {
//         super("Failed to establish workspace. Trace written to log", cause);
//     }
// }
// 
// Path: src/main/java/org/jenkinsci/plugins/pretestedintegration/IntegrationStrategy.java
// public abstract class IntegrationStrategy implements Describable<IntegrationStrategy>, ExtensionPoint {
// 
//     /**
//     * {@inheritDoc}
//     */
//     @Override
//     public Descriptor<IntegrationStrategy> getDescriptor() {
//         return (IntegrationStrategyDescriptor<?>) Jenkins.getInstance().getDescriptorOrDie(getClass());
//     }
// 
//     /**
//      * @return All Integration Strategy descriptors
//      */
//     public static DescriptorExtensionList<IntegrationStrategy, IntegrationStrategyDescriptor<IntegrationStrategy>> all() {
//         return Jenkins.getInstance().<IntegrationStrategy, IntegrationStrategyDescriptor<IntegrationStrategy>>getDescriptorList(IntegrationStrategy.class);
//     }
// }


// Path: src/test/java/org/jenkinsci/plugins/pretestedintegration/unit/DummyBridge.java
import hudson.Launcher;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import java.io.IOException;
import org.jenkinsci.plugins.pretestedintegration.AbstractSCMBridge;
import org.jenkinsci.plugins.pretestedintegration.exceptions.EstablishingWorkspaceFailedException;
import org.jenkinsci.plugins.pretestedintegration.IntegrationStrategy;

package org.jenkinsci.plugins.pretestedintegration.unit;


public class DummyBridge extends AbstractSCMBridge {

    public DummyBridge(IntegrationStrategy behaves) {
        super(behaves);
    }

    @Override
    protected String getIntegrationBranch() {
        return "master";