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