fn assert_handle_initialize(
            &mut self,
            maybe_highest_block: Option<Block>,
            expected_effect_count: usize,
        ) {
            let effects = self.chainspec_loader.handle_initialize(
                self.effect_builder,
                maybe_highest_block.clone().map(Box::new),
            );

            assert_eq!(self.chainspec_loader.initial_block, maybe_highest_block);
            assert_eq!(effects.len(), expected_effect_count);
        }
/// Calls `handle_initialize()` on the chainspec loader, asserting the provided block has
/// been recorded and that the expected number of effects were returned.
Calls `handle_initialize()` on the chainspec loader, asserting the provided block has
been recorded and that the expected number of effects were returned.
Calls ` handle_initialize () ` on the chainspec loader asserting the provided block has been recorded and that the expected number of effects were returned .
fn assert_handle_initialize(
            &mut self,
            maybe_highest_block: Option<Block>,
            expected_effect_count: usize,
        ) {
            let effects = self.chainspec_loader.handle_initialize(
                self.effect_builder,
                maybe_highest_block.clone().map(Box::new),
            );
            assert_eq!(self.chainspec_loader.initial_block, maybe_highest_block);
            assert_eq!(effects.len(), expected_effect_count);
        }
fn assert_handle_initialize ( & mut self , maybe_highest_block : Option < Block > , expected_effect_count : usize , ) { let effects = self . chainspec_loader . handle_initialize ( self . effect_builder , maybe_highest_block . clone ( ) . map ( Box :: new ) , ) ; assert_eq ! ( self chainspec_loader initial_block maybe_highest_block ) ; assert_eq ! ( effects len ( ) expected_effect_count ) ; }
Calls `handle_initialize()` on the chainspec loader, asserting the provided block has
been recorded and that the expected number of effects were returned.
Calls ` handle_initialize () ` on the chainspec loader asserting the provided block has been recorded and that the expected number of effects were returned .
&mut self
maybe_highest_block
Option<Block>
expected_effect_count
usize
&mut self
maybe_highest_block
Option<Block>
expected_effect_count
usize