FakeFactory.php 294 B

12345678910111213141516171819
  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. }