cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/test/java/org/cloudbus/cloudsim/mocks/CloudSimMocker.java
public IExpectationSetters<Double> clock(final double clockTimeToReturn) {
        return EasyMock
                .expect(mock.clock())
                .andReturn(clockTimeToReturn);
    }
/**
     * Makes the {@link CloudSim#clock()} method from the mocked CloudSim class
     * to return a given value.
     *
     * @param clockTimeToReturn the value that the {@link CloudSim#clock()}
     * method must return
     * @return
     */
Makes the  CloudSim#clock() method from the mocked CloudSim class
to return a given value.

@param clockTimeToReturn the value that the  CloudSim#clock()
method must return
@return
Makes the CloudSim#clock () method from the mocked CloudSim class to return a given value . @param clockTimeToReturn the value that the CloudSim#clock () method must return @return
public IExpectationSetters<Double> clock(final double clockTimeToReturn) {
        return EasyMock
                .expect(mock.clock())
                .andReturn(clockTimeToReturn);
    }
public IExpectationSetters < Double > clock ( final double clockTimeToReturn ) { return EasyMock . expect ( mock . clock ( ) ) . andReturn ( clockTimeToReturn ) ; }
Makes the {@link CloudSim#clock()} method from the mocked CloudSim class
 to return a given value.
Makes the { @link CloudSim#clock () } method from the mocked CloudSim class to return a given value .