code: def test_all_int(self, dtype):
      primitive_instance = MaxConsecutiveNegatives()
      primitive_func = primitive_instance.get_function()
      array = pd.Series([1, -1, 2, 4, -5], dtype=dtype)
      assert primitive_func(array) == 1
  
imports: import numpy
  import pandas
  import pytest
  from featuretools.primitives import MaxConsecutiveFalse, MaxConsecutiveNegatives, MaxConsecutivePositives, MaxConsecutiveTrue, MaxConsecutiveZeros
label_desc: Use image node_id 2 for calling the TestMaxConsecutiveNegatives obj's underlying member method code with example usage: obj.test_all_int(dtype) without return types