function createTestBody(mConfig, fnDone, fnFail) {
		return function(assert) {
			var fnAsync = assert.async();
			Opa.config.testName = mConfig.testName;
			Opa.assert = assert;
			Opa5.assert = assert;

			if (isQUnit2() && mConfig.expected !== null) {
				assert.expect(mConfig.expected);
			}

			// fill in OPA queue
			// preserve QUnit 'this' in order to access it from waitFor statements
			mConfig.callback.call(this, Opa.config.arrangements, Opa.config.actions, Opa.config.assertions);

			QUnitPause.setupBeforeOpaTest();

			Opa.emptyQueue()
				.done(function () {
					fnDone(assert, fnAsync);
				})
				.fail(function (oOptions) {
					fnFail(assert, fnAsync, oOptions);
				});
		};
	}
// include OPA configuration and queue execution in test callback
include OPA configuration and queue execution in test callback
include OPA configuration and queue execution in test callback
function createTestBody(mConfig, fnDone, fnFail) {
		return function(assert) {
			var fnAsync = assert.async();
			Opa.config.testName = mConfig.testName;
			Opa.assert = assert;
			Opa5.assert = assert;
			if (isQUnit2() && mConfig.expected !== null) {
				assert.expect(mConfig.expected);
			}
			mConfig.callback.call(this, Opa.config.arrangements, Opa.config.actions, Opa.config.assertions);
			QUnitPause.setupBeforeOpaTest();
			Opa.emptyQueue()
				.done(function () {
					fnDone(assert, fnAsync);
				})
				.fail(function (oOptions) {
					fnFail(assert, fnAsync, oOptions);
				});
		};
	}
function createTestBody ( mConfig , fnDone , fnFail ) { return function ( assert ) { var fnAsync = assert . async ( ) ; Opa . config . testName = mConfig . testName ; Opa . assert = assert ; Opa5 . assert = assert ; if ( isQUnit2 ( ) && mConfig . expected !== null ) { assert . expect ( mConfig . expected ) ; } mConfig . callback . call ( this , Opa . config . arrangements , Opa . config . actions , Opa . config . assertions ) ; QUnitPause . setupBeforeOpaTest ( ) ; Opa . emptyQueue ( ) . done ( function ( ) { fnDone ( assert , fnAsync ) ; } ) . fail ( function ( oOptions ) { fnFail ( assert , fnAsync , oOptions ) ; } ) ; } ; }
include OPA configuration and queue execution in test callback
include OPA configuration and queue execution in test callback
// fill in OPA queue // preserve QUnit 'this' in order to access it from waitFor statements