def METHOD_NAME(self, mock_set):
    cube_5 = self.cube
    cube_5.attributes = dict(spatial_processing_type='Spectral '
                                                     'interpolation')
    # If the cube has a spectral interpolation attribute, spatial
    # processing code should be 5 and number of points used should be 4.
    product_definition_template_15(cube_5, mock.sentinel.grib)
    mock_set.assert_any_call(mock.sentinel.grib,
                             "productDefinitionTemplateNumber", 15)
    mock_set.assert_any_call(mock.sentinel.grib,
                             "spatialProcessing", 5)
    mock_set.assert_any_call(mock.sentinel.grib,
                             "numberOfPointsUsed", 4)