| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function testSend() |
||
| 42 | { |
||
| 43 | $model = m::mock(ResultInterface::class); |
||
| 44 | $model->shouldReceive('get')->once()->with('RequestResponses')->andReturn([]); |
||
| 45 | |||
| 46 | $this->firehoseClient->shouldReceive('putRecordBatch')->once()->with([ |
||
| 47 | 'DeliveryStreamName' => $this->deliveryStreamName, |
||
| 48 | 'Records' => [ |
||
| 49 | ['Data' => json_encode(['Id' => 0, 'MessageBody' => 'foo', 'MessageAttributes' => []])] |
||
| 50 | ] |
||
| 51 | ])->andReturn($model); |
||
| 52 | |||
| 53 | $this->client->send([$this->client->create('foo')]); |
||
| 54 | } |
||
| 55 | } |
||
| 56 |
This check marks private properties in classes that are never used. Those properties can be removed.