def METHOD_NAME(
    memory_utilizer: MemoryUtilizer,
    mock_agent_event_publisher: IAgentEventPublisher,
):
    memory_utilizer.consume_bytes(1)
    assert mock_agent_event_publisher.publish.call_count == 1