/** * @test */ public function exportsAnyThingElseWithDefault() { assert(Provides::values([1])->describeValue(exporter(), 'foo'), equals('\'foo\'')); }
/** * @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])); }