(windowInterface)
| 367 | |
| 368 | export class ImagePixelVerifier { |
| 369 | constructor(windowInterface) { |
| 370 | this.imagePixels_ = []; |
| 371 | const FakeImage = () => { |
| 372 | const pixel = {}; |
| 373 | this.imagePixels_.push(pixel); |
| 374 | return pixel; |
| 375 | }; |
| 376 | windowInterface.getImage.returns(FakeImage); |
| 377 | } |
| 378 | |
| 379 | hasRequestSent() { |
| 380 | return this.imagePixels_.length > 0; |
nothing calls this directly
no outgoing calls
no test coverage detected