Esempio n. 1
0
 /**
  * View stub for PHPSpec unit test at spec\Anomaly\Lexicon\View\ViewSpec
  *
  * @return Engine
  */
 public static function stub()
 {
     $data = ['name' => 'Mr. Anderson'];
     return LexiconStub::factory()->make('test::hello', $data);
 }
Esempio n. 2
0
 /**
  * Factory stub for PHPSpec test
  *
  * @return Factory
  */
 public static function stub()
 {
     return LexiconStub::factory();
 }