Coverage Report - org.jbehave.core.steps.ProvidedStepsFactory
 
Classes in this File Line Coverage Branch Coverage Complexity
ProvidedStepsFactory
100%
4/4
N/A
1
 
 1  
 package org.jbehave.core.steps;
 2  
 
 3  
 import java.util.List;
 4  
 
 5  
 /**
 6  
  * An {@link InjectableStepsFactory} that is provided with the
 7  
  * {@link CandidateSteps} instances.
 8  
  */
 9  
 public class ProvidedStepsFactory implements InjectableStepsFactory {
 10  
 
 11  
     private final List<CandidateSteps> candidateSteps;
 12  
 
 13  35
     public ProvidedStepsFactory(List<CandidateSteps> candidateSteps) {
 14  35
         this.candidateSteps = candidateSteps;
 15  35
     }
 16  
 
 17  
     public List<CandidateSteps> createCandidateSteps() {
 18  34
         return candidateSteps;
 19  
     }
 20  
 
 21  
 }