fakefactory.php 294 B

123456789101112131415161718
  1. <?php
  2. namespace Test\Comments;
  3. use OCP\IServerContainer;
  4. /**
  5. * Class FakeFactory
  6. */
  7. class FakeFactory implements \OCP\Comments\ICommentsManagerFactory {
  8. public function __construct(IServerContainer $serverContainer) {
  9. }
  10. public function getManager() {
  11. return new FakeManager();
  12. }
  13. }