code: def test_has_batch_size():
      param = HasBatchSize()
      assert param.get_batch_size() == 32
      bs = 42
      param.set_batch_size(bs)
      assert param.get_batch_size() == bs
  
file_path: elephas/tests/ml/test_params.py
imports: from elephas.ml.params import *
label_desc: Use image node_id 8 for calling a global function with example usage: test_has_batch_size() without return types