import { setEmberArray, isEmberArray } from '@ember/array/-internals';
import { moduleFor, AbstractTestCase } from 'internal-test-helpers';

moduleFor(
  '@ember/-internals/utils Trackable Object',
  class extends AbstractTestCase {
    ['@test classes'](assert) {
      class Test {
        constructor() {
          setEmberArray(this);
        }
      }

      let instance = new Test();

      assert.equal(isEmberArray(instance), true);
    }
  }
);
