cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/test/java/org/cloudbus/cloudsim/schedulers/cloudlet/CloudletSchedulerTimeSharedTest.java
private CloudletExecutionInfo createCloudletExecInfo(int id){
        final CloudletExecutionInfo cloudlet = EasyMock.createMock(CloudletExecutionInfo.class);
        EasyMock.expect(cloudlet.getCloudletId()).andReturn(id).anyTimes();
        EasyMock.replay(cloudlet);
        return cloudlet;
    }
/**
     * Creates a mock CloudletExecutionInfo.
     * @param id Cloudlet id
     * @return the created mock Cloudlet
     */
Creates a mock CloudletExecutionInfo.
@param id Cloudlet id
@return the created mock Cloudlet
Creates a mock CloudletExecutionInfo . @param id Cloudlet id @return the created mock Cloudlet
private CloudletExecutionInfo createCloudletExecInfo(int id){
        final CloudletExecutionInfo cloudlet = EasyMock.createMock(CloudletExecutionInfo.class);
        EasyMock.expect(cloudlet.getCloudletId()).andReturn(id).anyTimes();
        EasyMock.replay(cloudlet);
        return cloudlet;
    }
private CloudletExecutionInfo createCloudletExecInfo ( int id ) { final CloudletExecutionInfo cloudlet = EasyMock . createMock ( CloudletExecutionInfo . class ) ; EasyMock . expect ( cloudlet . getCloudletId ( ) ) . andReturn ( id ) . anyTimes ( ) ; EasyMock . replay ( cloudlet ) ; return cloudlet ; }
Creates a mock CloudletExecutionInfo.
Creates a mock CloudletExecutionInfo .