function handler2 () {
			oBinding.detachChange(handler2);

			var aRootContexts = oBinding.getRootContexts(0, 10);
			var oAndrew = aRootContexts[8];

			assert.equal(oBinding.getChildCount(oAndrew), 5, "Child count of /Employees(2) is now 5");

			var aChildContexts = oBinding.getNodeContexts(oAndrew, 0, 5);
			var oContext;

			oContext = aChildContexts[0];
			assert.equal(oModel.getProperty("FirstName", oContext), "Steven", "/Employee(2) child context[0] is correct (Steven)");

			oContext = aChildContexts[4];
			assert.equal(oModel.getProperty("FirstName", oContext), "Janet", "/Employee(2) child context[4] is correct (Janet)");

			done();
		}
//change handler for getNodeContexts() call
change handler for getNodeContexts() call
change handler for getNodeContexts () call
function handler2 () {
			oBinding.detachChange(handler2);
			var aRootContexts = oBinding.getRootContexts(0, 10);
			var oAndrew = aRootContexts[8];
			assert.equal(oBinding.getChildCount(oAndrew), 5, "Child count of /Employees(2) is now 5");
			var aChildContexts = oBinding.getNodeContexts(oAndrew, 0, 5);
			var oContext;
			oContext = aChildContexts[0];
			assert.equal(oModel.getProperty("FirstName", oContext), "Steven", "/Employee(2) child context[0] is correct (Steven)");
			oContext = aChildContexts[4];
			assert.equal(oModel.getProperty("FirstName", oContext), "Janet", "/Employee(2) child context[4] is correct (Janet)");
			done();
		}
function handler2 ( ) { oBinding . detachChange ( handler2 ) ; var aRootContexts = oBinding . getRootContexts ( 0 , 10 ) ; var oAndrew = aRootContexts [ 8 ] ; assert . equal ( oBinding . getChildCount ( oAndrew ) , 5 , "Child count of /Employees(2) is now 5" ) ; var aChildContexts = oBinding . getNodeContexts ( oAndrew , 0 , 5 ) ; var oContext ; oContext = aChildContexts [ 0 ] ; assert . equal ( oModel . getProperty ( "FirstName" , oContext ) , "Steven" , "/Employee(2) child context[0] is correct (Steven)" ) ; oContext = aChildContexts [ 4 ] ; assert . equal ( oModel . getProperty ( "FirstName" , oContext ) , "Janet" , "/Employee(2) child context[4] is correct (Janet)" ) ; done ( ) ; }
change handler for getNodeContexts() call
change handler for getNodeContexts () call