public function testCreateEventSource() { $this->assertInstanceOf('\\OC_EventSource', $this->server->createEventSource(), 'service returned by "createEventSource" did not return the right class'); $this->assertInstanceOf('\\OCP\\IEventSource', $this->server->createEventSource(), 'service returned by "createEventSource" did not return the right class'); }