'Assert that exactly ``instantiations`` XBlocks are instantiated in
the surrounded context.'

def assertXBlockInstantiations(self, instantiations):

    return check_sum_of_calls(XBlock, ['__init__'], instantiations, instantiations, include_arguments=False)
