'``Example.fromDictionary`` requires request and response keys
in the supplied dictionary and passes them to the Example
initialiser.'

def test_required_arguments(self):

    expected_request = 'GET    /v1/some/example/request    HTTP/1.1\n'
    expected_response = 'HTTP/1.0    200    OK\n\n'
    expected_doc = u'Documentation    for    some    example.'
    supplied_dictionary = {'request': expected_request, 'response': expected_response, 'doc': expected_doc}
    expected_example = Example(request=expected_request, response=expected_response, doc=expected_doc)
    self.assertEqual(expected_example, Example.fromDictionary(supplied_dictionary))
