function validateInputsMapToCalls(actionsCalled) {
        actionsCalled.forEach(function(action) {
            expect(controller[action].calledOnce).to.be.true;
        });

        ACTIONS.forEach(function(action) {
            if (actionsCalled.indexOf(action) > -1) {
                return;
            }

            expect(controller[action].calledOnce).to.be.false;
        });
    }
/**
     * Confirms that the specified actions are called, and also that the rest of the controller's actions
     * are not called.
     * @param actionsCalled
     */
Confirms that the specified actions are called, and also that the rest of the controller's actions
are not called.
@param actionsCalled
Confirms that the specified actions are called and also that the rest of the controller ' s actions are not called . @param actionsCalled
function validateInputsMapToCalls(actionsCalled) {
        actionsCalled.forEach(function(action) {
            expect(controller[action].calledOnce).to.be.true;
        });
        ACTIONS.forEach(function(action) {
            if (actionsCalled.indexOf(action) > -1) {
                return;
            }
            expect(controller[action].calledOnce).to.be.false;
        });
    }
function validateInputsMapToCalls ( actionsCalled ) { actionsCalled . forEach ( function ( action ) { expect ( controller [ action ] . calledOnce ) . to . be . true ; } ) ; ACTIONS . forEach ( function ( action ) { if ( actionsCalled . indexOf ( action ) > - 1 ) { return ; } expect ( controller [ action ] . calledOnce ) . to . be . false ; } ) ; }
Confirms that the specified actions are called, and also that the rest of the controller's actions
 are not called.
Confirms that the specified actions are called and also that the rest of the controller ' s actions are not called .