text: 
  /**
   * Module dependencies.
   */
  
  import PlainObjectAssert from '../../src/asserts/plain-object-assert';
  import should from 'should';
  import { Assert as BaseAssert, Violation } from 'validator.js';
  
  /**
   * Extend `Assert` with `PlainObjectAssert`.
   */
  
  const Assert = BaseAssert.extend({
    PlainObject: PlainObjectAssert
  });
  
  /**
   * Test `PlainObjectAssert`.
   */
  
  describe('PlainObjectAssert', () => {
    it('should throw an error if the input value is not a plain object', () => {
      const choices = [[], 123];
  
      choices.forEach(choice => {
        try {
          new Assert().PlainObject().validate(choice);
  
          should.fail();
        } catch (e) {
          e.should.be.instanceOf(Violation);
        }
      });
    });
  
    it('should expose `assert` equal to `PlainObject`', () => {
      try {
        new Assert().PlainObject().validate('FOO');
  
        should.fail();
      } catch (e) {
        e.show().assert.should.equal('PlainObject');
      }
    });
  
    it('should accept a plain object', () => {
      new Assert().PlainObject().validate({ foo: 'bar' });
    });
  });
  