상속: implements Eloquent\Phony\Assertion\AssertionRecorder
예제 #1
0
 /**
  * Get the static instance of this factory.
  *
  * @return HandleFactory The static factory.
  */
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self(StubFactory::instance(), StubVerifierFactory::instance(), AssertionRenderer::instance(), ExceptionAssertionRecorder::instance(), Invoker::instance());
     }
     return self::$instance;
 }
예제 #2
0
 /**
  * Get the static instance of this factory.
  *
  * @return SpyVerifierFactory The static factory.
  */
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self(SpyFactory::instance(), MatcherFactory::instance(), MatcherVerifier::instance(), GeneratorVerifierFactory::instance(), IterableVerifierFactory::instance(), CallVerifierFactory::instance(), ExceptionAssertionRecorder::instance(), AssertionRenderer::instance(), FunctionHookManager::instance());
     }
     return self::$instance;
 }
예제 #3
0
 /**
  * Get the static instance of this factory.
  *
  * @return IterableVerifierFactory The static factory.
  */
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self(MatcherFactory::instance(), ExceptionAssertionRecorder::instance(), AssertionRenderer::instance());
     }
     return self::$instance;
 }
예제 #4
0
 /**
  * Get the static instance of this driver.
  *
  * @return FacadeDriver The static driver.
  */
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self(ExceptionAssertionRecorder::instance());
     }
     return self::$instance;
 }