assertNotNull(obj) {
    if (obj === undefined || obj === null) {
      throw new AssertionError('assertNotNull failed for the following object: '
        + util.inspect(obj, { showHidden: true, depth: 2 }));
    }
  }
/**
   * Asserts that the given object is defined and not null
   * @param  {Object} obj the object to check
   * @throws AssertionError
   */
Asserts that the given object is defined and not null
@param  {Object} obj the object to check
@throws AssertionError
Asserts that the given object is defined and not null @param { Object } obj the object to check @throws AssertionError
assertNotNull(obj) {
    if (obj === undefined || obj === null) {
      throw new AssertionError('assertNotNull failed for the following object: '
        + util.inspect(obj, { showHidden: true, depth: 2 }));
    }
  }
assertNotNull ( obj ) { if ( obj === undefined || obj === null ) { throw new AssertionError ( 'assertNotNull failed for the following object: ' + util . inspect ( obj , { showHidden : true , depth : 2 } ) ) ; } }
Asserts that the given object is defined and not null
 @param  {Object} obj the object to check
 @throws AssertionError
Asserts that the given object is defined and not null @param { Object } obj the object to check @throws AssertionError