def METHOD_NAME(monkeypatch):
    METHOD_NAME = Mock()
    mock_value_store_factory = Mock(return_value=METHOD_NAME)
    monkeypatch.setattr(bat, "get_bat_value_store", mock_value_store_factory)
    monkeypatch.setattr(counter, "get_counter_value_store", mock_value_store_factory)
    monkeypatch.setattr(inverter, "get_inverter_value_store", mock_value_store_factory)
    return METHOD_NAME