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(&mut self, expected_key: &K) -> Spec<'s, V>;
    fn does_not_contain_key(&mut self, expected_key: &K);
    fn contains_entry(&mut self, expected_key: &K, expected_value: &V);
    fn does_not_contain_entry(&mut self, expected_key: &K, expected_value: &V);
}

Required Methods

Implementors