p.location-badge. exported from angular2/test defined in angular2/src/test_lib/test_lib.ts (line 22) :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 toBe pre.prettyprint code. toBe(expected: any) :markdown .l-sub-section h3 toEqual pre.prettyprint code. toEqual(expected: any) :markdown .l-sub-section h3 toBePromise pre.prettyprint code. toBePromise() :markdown .l-sub-section h3 toBeAnInstanceOf pre.prettyprint code. toBeAnInstanceOf(expected: any) :markdown .l-sub-section h3 toHaveText pre.prettyprint code. toHaveText(expected: any) :markdown .l-sub-section h3 toHaveCssClass pre.prettyprint code. toHaveCssClass(expected: any) :markdown .l-sub-section h3 toImplement pre.prettyprint code. toImplement(expected: any) :markdown .l-sub-section h3 toContainError pre.prettyprint code. toContainError(expected: any) :markdown .l-sub-section h3 toThrowErrorWith pre.prettyprint code. toThrowErrorWith(expectedMessage: any) :markdown .l-sub-section h3 not :markdown