LimeExceptionExpectation.php 769 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /*
  3. * This file is part of the Lime test framework.
  4. *
  5. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  6. * (c) Bernhard Schussek <bernhard.schussek@symfony-project.com>
  7. *
  8. * This source file is subject to the MIT license that is bundled
  9. * with this source code in the file LICENSE.
  10. */
  11. class LimeExceptionExpectation
  12. {
  13. private
  14. $exception = null,
  15. $file = null,
  16. $line = null;
  17. public function __construct($exception, $file, $line)
  18. {
  19. $this->exception = $exception;
  20. $this->file = $file;
  21. $this->line = $line;
  22. }
  23. public function getException()
  24. {
  25. return $this->exception;
  26. }
  27. public function getFile()
  28. {
  29. return $this->file;
  30. }
  31. public function getLine()
  32. {
  33. return $this->line;
  34. }
  35. }