'The examples are loaded into a L{dict} mapping example identifiers to
example L{dict}s.'

def test_loaded(self):

    foo = {u'id': u'foo', u'foo_value': True}
    bar = {u'id': u'bar', u'bar_value': False}
    path = FilePath(self.mktemp())
    path.setContent(safe_dump([foo, bar]))
    examples = _loadExamples(path)
    self.assertEqual({foo[u'id']: foo, bar[u'id']: bar}, examples)
