Пример #1
0
 /**
  * @test
  */
 public function exportsAnyThingElseWithDefault()
 {
     assert(Provides::values([1])->describeValue(exporter(), 'foo'), equals('\'foo\''));
 }
Пример #2
0
 /**
  * @param  iterable  $initial
  * @test
  * @dataProvider  initialSequence
  * @since  5.4.0
  */
 public function appendCreatesNewCombinedSequenceWithGivenElement($initial)
 {
     assert(Sequence::of($initial)->append(3), Provides::values([1, 2, 3]));
 }