protected void failOnInvalidContext ( ExecutionContext executionContext ) { for ( Fact fact : executionContext . getFacts ( ) ) { failOnInvalidFact ( fact ) ; } for ( Step step : executionContext . getSteps ( ) ) { failOnInvalidStep ( step ) ; } for ( Result result : executionContext . getResults ( ) ) { failOnInvalidResult ( result ) ; } }
This method validates the execution context .