You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
870 B

9 years ago
  1. <?php
  2. namespace TomLingham\Tests\Searchy\Facades;
  3. use GrahamCampbell\TestBenchCore\FacadeTrait;
  4. use TomLingham\Searchy\Facades\Searchy;
  5. use TomLingham\Searchy\SearchBuilder;
  6. use TomLingham\Tests\Searchy\AbstractTestCase;
  7. /**
  8. * This is the searchy facade test class.
  9. *
  10. * @author Vincent Klaiber <hello@vinkla.com>
  11. */
  12. class SearchyTest extends AbstractTestCase
  13. {
  14. use FacadeTrait;
  15. /**
  16. * Get the facade accessor.
  17. *
  18. * @return string
  19. */
  20. protected function getFacadeAccessor()
  21. {
  22. return 'searchy';
  23. }
  24. /**
  25. * Get the facade class.
  26. *
  27. * @return string
  28. */
  29. protected function getFacadeClass()
  30. {
  31. return Searchy::class;
  32. }
  33. /**
  34. * Get the facade root.
  35. *
  36. * @return string
  37. */
  38. protected function getFacadeRoot()
  39. {
  40. return SearchBuilder::class;
  41. }
  42. }