Lines Matching refs:event

60         $event = $call->startBatch([
65 $this->assertTrue($event->send_metadata);
66 $this->assertTrue($event->send_close);
68 $event = $this->server->requestCall();
69 $this->assertSame('dummy_method', $event->method);
70 $server_call = $event->call;
72 $event = $server_call->startBatch([
82 $this->assertTrue($event->send_metadata);
83 $this->assertTrue($event->send_status);
84 $this->assertFalse($event->cancelled);
86 $event = $call->startBatch([
91 $this->assertSame([], $event->metadata);
92 $status = $event->status;
111 $event = $call->startBatch([
118 $this->assertTrue($event->send_metadata);
119 $this->assertTrue($event->send_close);
121 $event = $this->server->requestCall();
122 $this->assertSame('dummy_method', $event->method);
123 $server_call = $event->call;
125 $event = $server_call->startBatch([
134 $event = $call->startBatch([
139 $this->assertSame([], $event->metadata);
140 $status = $event->status;
161 $event = $call->startBatch([
167 $this->assertTrue($event->send_metadata);
168 $this->assertTrue($event->send_close);
169 $this->assertTrue($event->send_message);
171 $event = $this->server->requestCall();
172 $this->assertSame('dummy_method', $event->method);
173 $server_call = $event->call;
175 $event = $server_call->startBatch([
187 $this->assertTrue($event->send_metadata);
188 $this->assertTrue($event->send_status);
189 $this->assertTrue($event->send_message);
190 $this->assertFalse($event->cancelled);
191 $this->assertSame($req_text, $event->message);
193 $event = $call->startBatch([
199 $this->assertSame([], $event->metadata);
200 $this->assertSame($reply_text, $event->message);
201 $status = $event->status;