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