class_docstr: Test NIR reflectance compositor.
docstr: Test NIR reflectance compositor with minimal parameters.
docstr_tok: ["Test","NIR","reflectance","compositor","with","minimal","parameters","."]
code: def test_no_sunz_no_co2(self, calculator, apply_modifier_info, sza):
      """Test NIR reflectance compositor with minimal parameters."""
      calculator.return_value = mock.MagicMock(
          reflectance_from_tbs=self.refl_from_tbs
      )
      sza.return_value = self.da_sunz
      from satpy.modifiers.spectral import NIRReflectance
  
      comp = NIRReflectance(name="test")
      info = {"modifiers": None}
      res = comp([self.nir, self.ir_], optional_datasets=[], **info)
  
      # due to copying of DataArrays, self.get_lonlats is not the same as the one that was called
      # we must used the area from the final result DataArray
      res.attrs["area"].get_lonlats.assert_called_with(
          chunks=((2,), (2,)), dtype=self.nir.dtype
      )
      sza.assert_called_with(self.start_time, self.lons, self.lats)
      self.refl_from_tbs.assert_called_with(
          self.da_sunz, self.nir.data, self.ir_.data, tb_ir_co2=None
      )
      assert np.allclose(res.data, self.refl * 100).compute()
  
imports: import unittest
  from datetime import datetime
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition, StackedAreaDefinition
  from pytest_lazyfixture import lazy_fixture
label_desc: Use image node_id 4 for calling the TestNIRReflectance obj's underlying member method code with example usage: obj.test_no_sunz_no_co2(calculator, apply_modifier_info, sza) without return types