/// Asserts that current supervisor configuration equals to the provided one.
Asserts that current supervisor configuration equals to the provided one.
Asserts that current supervisor configuration equals to the provided one .
fn assert_supervisor_config(testkit: &TestKit, config: SupervisorConfig) {
    let snapshot = testkit.snapshot();
    let schema: Schema<_> = snapshot.service_schema(supervisor_name()).unwrap();
    let current_config = schema.configuration.get().unwrap();
    assert_eq!(current_config, config);
}
fn assert_supervisor_config ( testkit : & TestKit , config : SupervisorConfig ) { let snapshot = testkit . snapshot ( ) ; let schema : Schema < _ > = snapshot . service_schema ( supervisor_name ( ) ) . unwrap ( ) ; let current_config = schema . configuration . get ( ) . unwrap ( ) ; assert_eq ! ( current_config config ) ; }
Asserts that current supervisor configuration equals to the provided one.
Asserts that current supervisor configuration equals to the provided one .
testkit
&TestKit
config
SupervisorConfig