public function testProtectedApiGetTime_ReturnsTime() { $channel = $this->createChannel(); $time = $this->callProtectedMethod($channel, 'getTime'); $this->assertSame(time(), (int) ($time / 1000.0)); }