p.location-badge. exported from angular2/test defined in angular2/src/test_lib/test_injector.ts (line 193) :markdown This module is used for writing tests for applications written in Angular. This module is not included in the `angular2` module; you must import the test module explicitly. .l-main-section h2 Members .l-sub-section h3 constructor pre.prettyprint code. constructor(_tokens: any[], _fn: Function) :markdown .l-sub-section h3 execute pre.prettyprint code. execute(injector: Injector) :markdown Returns the value of the executed function. .l-sub-section h3 hasToken pre.prettyprint code. hasToken(token: any) :markdown