Пример #1
0
 /**
  * @test
  */
 public function exportsAnyThingElseWithDefault()
 {
     assert(Provides::values([1])->describeValue(exporter(), 'foo'), equals('\'foo\''));
 }
Пример #2
0
 /**
  * @test
  */
 public function dataReturnsCompleteDataAsArray()
 {
     assert(Sequence::of(new \ArrayIterator(['foo' => 'bar', 'baz' => 303])), Provides::data(['foo' => 'bar', 'baz' => 303]));
 }