code: def test_build_slot_sharing_group_with_illegal_config(self):
      with self.assertRaises(Exception):
          SlotSharingGroup.builder("slot_sharing_group").set_cpu_cores(
              1.0
          ).set_task_heap_memory(
              MemorySize(bytes_size=0)
          ).set_task_off_heap_memory_mb(
              10
          ).build()
  
imports: from pyflink.datastream.slot_sharing_group import MemorySize, SlotSharingGroup
  from pyflink.testing.test_case_utils import PyFlinkTestCase
label_desc: Use image node_id 3 for calling the SlotSharingGroupTests obj's underlying member method code with example usage: obj.test_build_slot_sharing_group_with_illegal_config() without return types