code: def test_optimizer_string():
      _ = MovingAverage("adam")
  
imports: import numpy
  import pytest
  import tensorflow
  from packaging.version import Version
  from tensorflow_addons.optimizers import MovingAverage
label_desc: Use image node_id 7 for calling a global function with example usage: test_optimizer_string() without return types