def METHOD_NAME(monkeypatch, requests_mock: requests_mock.Mocker, mock_ramdisk: MockRamdisk):
    # setup
    mock_bat_value_store = Mock()
    monkeypatch.setattr(bat, "get_bat_value_store", Mock(return_value=mock_bat_value_store))
    requests_mock.get("https://sample-address/api/meters/aggregates", text=sample_aggregates_json,
                      additional_matcher=match_cookie_ok)
    requests_mock.get("https://sample-address/api/system_status/soe", text=sample_soe_json,
                      additional_matcher=match_cookie_ok)
    mock_ramdisk[COOKIE_FILE_NAME] = """{"AuthCookie": "auth-cookie", "UserRecord": "user-record"}"""
    # execution
    setup_battery_component().update()
    # evaluation
    assert_battery_state_correct(mock_bat_value_store.set.call_args[0][0])