code: def testNumberMapForBits(self):
      pattern = self.patternMachine.get(49)
      numberMap = self.patternMachine.numberMapForBits(pattern)
  
      self.assertEqual(numberMap.keys(), [49])
      self.assertEqual(numberMap[49], pattern)
  
file_path: nupic-legacy/tests/unit/nupic/data/generators/pattern_machine_test.py
imports: import unittest
  from nupic.data.generators.pattern_machine import PatternMachine, ConsecutivePatternMachine
label_desc: Use image node_id 7 for calling the PatternMachineTest obj's underlying member method code with example usage: obj.testNumberMapForBits() without return types