2015-11-23 23:53:55 +01:00
|
|
|
<?php
|
|
|
|
|
2015-12-03 17:23:22 +01:00
|
|
|
namespace Test\Comments;
|
|
|
|
|
2016-01-19 16:17:49 +01:00
|
|
|
use OCP\IServerContainer;
|
|
|
|
|
2015-11-23 23:53:55 +01:00
|
|
|
/**
|
2015-12-03 21:53:58 +01:00
|
|
|
* Class FakeFactory
|
2015-11-23 23:53:55 +01:00
|
|
|
*/
|
2015-12-03 21:53:58 +01:00
|
|
|
class FakeFactory implements \OCP\Comments\ICommentsManagerFactory {
|
2015-11-23 23:53:55 +01:00
|
|
|
|
2016-01-19 16:17:49 +01:00
|
|
|
public function __construct(IServerContainer $serverContainer) {
|
|
|
|
}
|
|
|
|
|
2015-11-23 23:53:55 +01:00
|
|
|
public function getManager() {
|
2015-12-03 21:53:58 +01:00
|
|
|
return new FakeManager();
|
2015-12-03 16:35:57 +01:00
|
|
|
}
|
2015-11-23 23:53:55 +01:00
|
|
|
}
|