cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/test/java/org/cloudsimplus/integrationtests/VmCreationFailureIntegrationTest.java
private void onEventProcessing(SimEvent evt) {
        Log.printFormattedLine("* onEventProcessing at time %3.0f: %s", evt.getTime(), evt);
        switch ((int) evt.getTime()) {
            case 10:
                assertEquals(200,
                        scenario.getFirstHostFromFirstDatacenter().getAvailableMips(), 0.1);
            break;
            case 20:
                assertEquals(200,
                        scenario.getFirstHostFromFirstDatacenter().getAvailableMips(), 0.1);
            break;
        }
    }
/**
     * A lambda function used by an {@link CloudSim#onEventProcessingListeners}
     * that will be called every time an event is processed by {@link CloudSim}.
     * @param evt
     */
A lambda function used by an  CloudSim#onEventProcessingListeners
that will be called every time an event is processed by  CloudSim.
@param evt
A lambda function used by an CloudSim#onEventProcessingListeners that will be called every time an event is processed by CloudSim . @param evt
private void onEventProcessing(SimEvent evt) {
        Log.printFormattedLine("* onEventProcessing at time %3.0f: %s", evt.getTime(), evt);
        switch ((int) evt.getTime()) {
            case 10:
                assertEquals(200,
                        scenario.getFirstHostFromFirstDatacenter().getAvailableMips(), 0.1);
            break;
            case 20:
                assertEquals(200,
                        scenario.getFirstHostFromFirstDatacenter().getAvailableMips(), 0.1);
            break;
        }
    }
private void onEventProcessing ( SimEvent evt ) { Log . printFormattedLine ( "* onEventProcessing at time %3.0f: %s" , evt . getTime ( ) , evt ) ; switch ( ( int ) evt . getTime ( ) ) { case 10 : assertEquals ( 200 , scenario . getFirstHostFromFirstDatacenter ( ) . getAvailableMips ( ) , 0.1 ) ; break ; case 20 : assertEquals ( 200 , scenario . getFirstHostFromFirstDatacenter ( ) . getAvailableMips ( ) , 0.1 ) ; break ; } }
A lambda function used by an {@link CloudSim#onEventProcessingListeners}
 that will be called every time an event is processed by {@link CloudSim}.
A lambda function used by an { @link CloudSim#onEventProcessingListeners } that will be called every time an event is processed by { @link CloudSim } .