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: test_spm_dcm_post_hoc.m
    path of file: ./repos/spm12/tests
    
    the code of the file until where you have to start completion: function tests = test_spm_dcm_post_hoc
% Unit Tests for spm_dcm_post_hoc
%__________________________________________________________________________
% Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging

% $Id: test_spm_dcm_post_hoc.m 6492 2015-06-26 14:27:40Z guillaume $

tests = functiontests(localfunctions);


    
function tests = test_spm_dcm_post_hoc
% Unit Tests for spm_dcm_post_hoc
%__________________________________________________________________________
% Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging

% $Id: test_spm_dcm_post_hoc.m 6492 2015-06-26 14:27:40Z guillaume $

tests = functiontests(localfunctions);


%--------------------------------------------------------------------------
function data_path = get_data_path()
data_path = fullfile( spm('Dir'), 'tests', ...
    'data', 'test_spm_dcm_post_hoc');


%--------------------------------------------------------------------------
function setup(testCase)
data_path = get_data_path();

% Expected outputs
artefacts = {fullfile(data_path,'DCM_BPA.mat');
             fullfile(data_path,'DCM_opt_fwd_bwd_simulated.mat')};
    
% Delete if exist
for i = 1:length(artefacts)
    spm_unlink(artefacts{i});   
end