()
| 46 | } |
| 47 | |
| 48 | function setUp() { |
| 49 | mockClient = control.createStrictMock(webdriver.http.Client); |
| 50 | mockXhr = control.createStrictMock(FakeXhr); |
| 51 | mockXhr.status = 200; |
| 52 | mockXhr.responseText = ''; |
| 53 | mockXhr.withCredentials = false; |
| 54 | setXhr(mockXhr); |
| 55 | } |
| 56 | |
| 57 | function tearDown() { |
| 58 | control.$tearDown(); |