Trait spectral::hashmap::HashMapAssertions [] [src]

pub trait HashMapAssertions<'s, K: Hash + Eq, V: PartialEq> {
    fn has_length(&mut self, expected: usize);
    fn is_empty(&mut self);
    fn contains_key<E: Borrow<K>>(&mut self, expected_key: E) -> Spec<'s, V>;
    fn does_not_contain_key<E: Borrow<K>>(&mut self, expected_key: E);
    fn contains_entry<E: Borrow<K>, F: Borrow<V>>(
        &mut self,
        expected_key: E,
        expected_value: F
    ); fn does_not_contain_entry<E: Borrow<K>, F: Borrow<V>>(
        &mut self,
        expected_key: E,
        expected_value: F
    ); }

Required Methods

Implementors