def assertResult(self, method, path, request_body,
                     expected_code, expected_result,
                     additional_headers=pmap()):
        requesting = self.assertResponseCode(
            method, path, request_body, expected_code, additional_headers)
        requesting.addCallback(readBody)
        requesting.addCallback(loads)

        def assertEqualAndReturn(expected, actual):
            """
            Assert that ``expected`` is equal to ``actual`` and return
            ``actual`` for further processing.
            """
            self.assertEqual(expected, actual)
            return actual

        requesting.addCallback(
            lambda actual_result: assertEqualAndReturn(
                expected_result, actual_result)
        )
        return requesting
Ensure that all schemas within the collection
dataset/ETHPy150Open ClusterHQ/flocker/flocker/restapi/testtools.py/APIAssertionsMixin.assertResult--crossover with--dataset/ETHPy150Open jumoconnect/openjumo/jumodjango/lib/suds/xsd/schema.py/SchemaCollection.autoblend