message: Added test for Extension decorator instantiation throw
diff: -import { Expect, Test, TestCase } from "alsatian";
  +import { Expect, Test } from "alsatian";
  import * as util from "../src/util";
  import { TranspileError } from "../../src/Errors";
  @@ -44,4 +44,20 @@ export class DecoratorMetaExtension {
  }).toThrowError(TranspileError,
  "!MetaExtension requires the extension of the metatable class.");
  }
  +
  + @Test("DontAllowInstantiation")
  + public dontAllowInstantiation(): void {
  + Expect(() => {
  + util.transpileString(
  + `
  + declare class _LOADED;
  + /** !MetaExtension */
  + class Ext extends _LOADED {
  + }
  + const e = new Ext();
  + `
  + );
  + }).toThrowError(TranspileError,
  + "Cannot construct classes with decorator '!Extension' or '!MetaExtension'.");
  + }
  }
  