def METHOD_NAME():
    labels = numpy.zeros((10, 10), int)
    labels[0:7, 3:8] = 1
    mask = numpy.zeros((10, 10), bool)
    mask[1:9, 1:9] = True
    image = cellprofiler_core.image.Image(numpy.zeros((10, 10)), mask=mask)
    area_occupied = [30]
    perimeter = [18]
    total_area = 64
    workspace = make_workspace(labels, image)
    module = workspace.module
    module.operand_choice.value = "Objects"
    module.run(workspace)
    m = workspace.measurements
    def mn(x):
        return "AreaOccupied_%s_%s" % (x, module.objects_list.value[0])
    assert m.get_current_measurement("Image", mn("AreaOccupied")) == area_occupied
    assert m.get_current_measurement("Image", mn("Perimeter")) == perimeter
    assert m.get_current_measurement("Image", mn("TotalArea")) == total_area