code: def test_Interface():
      assert nib.Interface.input_spec is None
      assert nib.Interface.output_spec is None
      with pytest.raises(NotImplementedError):
          nib.Interface()
  
      class DerivedInterface(nib.Interface):
          def __init__(self):
              pass
  
      nif = DerivedInterface()
      with pytest.raises(NotImplementedError):
          nif.run()
      with pytest.raises(NotImplementedError):
          nif.aggregate_outputs()
      with pytest.raises(NotImplementedError):
          nif._list_outputs()
  
imports: import os
  import simplejson
  import logging
  import pytest
  from unittest import mock
  from ....None import config
  from ....testing import example_data
  from ...None import base
  from ..support import _inputs_help
label_desc: Use image node_id 2 for calling a global function with example usage: test_Interface() without return types