def METHOD_NAME(self):
    type_ = ['Fiducial', 'Electrode', 'ReferenceElectrode']
    coordinates = np.array([[1, 2, 3],
                            [1.2, 2.4, 3.6],
                            [1.2, 2.4, 7.1]])
    header = []
    name = ['fiducial', 'electrode', None]
    extra_cols = [['a2'], ['b2', 'b3'], None]
    extra = [None, np.array([9, 8, 7], dtype=float), None]
    f = tempfile.NamedTemporaryFile(delete=False)
    csv_reader.write_csv_positions(f.name, type_, coordinates, name, extra, extra_cols, header)
    with open(f.name, 'r') as f:
        assert f.readline().strip() == 'Fiducial,1.0,2.0,3.0,fiducial,a2'
        assert f.readline().strip() == 'Electrode,1.2,2.4,3.6,9.0,8.0,7.0,electrode,b2,b3'
        assert f.readline().strip() == 'ReferenceElectrode,1.2,2.4,7.1'