You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: pspm_process_illuminance_test.m
    path of file: ./repos/PsPM/test
    
    the code of the file until where you have to start completion: classdef pspm_process_illuminance_test < matlab.unittest.TestCase
  % ● Description
  % unittest class for the pspm_process_illuminance function
  % ● Authorship
  % (C) 2016 Tobias Moser (University of Zurich)
  properties
    testfile_pre
    
function
  % ● Authorship
  % (C) 2016 Tobias Moser (University of Zurich)
  properties
    testfile_prefix = 'testdata_process_illuminance';
    datafiles = {};
  end;
  properties (TestParameter)
    % one file
    bf_dur = {0.1 10 100};
    bf_offset = {0.1 10 100};
    dur = {0.1 10 100};
    sr = {0.1 10 100};
    % multiple files
    n_times = {1, 8}
    mode = {'file', 'data', 'mixed'};
  end;
  methods(TestMethodTeardown)
    %% Cleanup function
    function cleanup(this)
      for i=1:length(this.datafiles)
        d = this.datafiles{i};
        if ~isempty(d) && exist(d, 'file')
          delete(d);
        end;
      end;
      this.datafiles = {''};
    end;
  end;
  methods
    %% Generate data
    function [data_list, sr_list] = generate_lx(this, sr, dur, n_times, mode)
      if strcmpi(mode, 'mixed')
        data_list = repmat({'file'; 'data'}, fix(n_times/2), 1);
        if mod(n_times, 2) == 1
          data_list{end