Skip to main content

Module stub_post_bundle_manager

Module stub_post_bundle_manager 

Source
Expand description

§Test stub PostBundleManager

An in-memory implementation of crate::client::post_bundle::post_bundle_manager::PostBundleManager for tests that need to exercise timeline logic without any network. Lookups return pre-configured bundles from a HashMap, and the stub can synthesise random bundles of a requested post count on demand. sealed / overflowed flags are set based on the bucket’s position in time relative to the test clock so edge-case transitions (just-sealed, just-overflowed) can be reproduced deterministically.

Structs§

StubPostBundleManager