def assertExecutionMatrix(self, attributes, exec_matrix):
clazz = self.get_benchmark_clazz()<EOL>benchmark = clazz()<EOL>dict_merge(benchmark.attributes, attributes)<EOL>assertCountEqual(<EOL>self, list(benchmark.execution_matrix(self.exec_context)), exec_matrix<EOL>)<EOL>
Helper function to test execution matrix of a benchmark
        initialized with the given attributes