def METHOD_NAME(capsys) -> None:
    store = ProfilerStore(store_name="profiler_store")
    with mock.patch("random.choice", lambda _: "0"):
        store.serialization_self_check(pretty_print=True)
    stdout = capsys.readouterr().out
    test_key = "ConfigurationIdentifier::profiler_00000000000000000000"
    messages = [
        f"Attempting to add a new test key {test_key} to Profiler store...",
        f"Test key {test_key} successfully added to Profiler store.",
        f"Attempting to retrieve the test value associated with key {test_key} from Profiler store...",
        "Test value successfully retrieved from Profiler store",
        f"Cleaning up test key {test_key} and value from Profiler store...",
        "Test key and value successfully removed from Profiler store",
    ]
    for message in messages:
        assert message in stdout