// Path: datagen/src/main/java/io/qala/datagen/RandomShortApi.java
// public static String nullOrBlank() {
//     return sample("", between(1, 100).string(' '), null);
// }


import java.util.stream.Stream;
import static io.qala.datagen.RandomShortApi.nullOrBlank;
package io.qala.datagen.junit.jupiter;



public class BlankStringProvider extends RandomizedArgumentProvider<BlankString> {
    private BlankString annotation;

    @Override
    public void accept(BlankString annotation) {
        this.annotation = annotation;
    }

    @Override Stream<Object[]> getValueWithDescription() {
        return Stream.of(annotation)
                .map(BlankStringProvider::generateParams);
    }

    @Override Stream<Object> getValue() {
        return Stream.of(generateParam());
    }

    static String generateParam() {
// Path: datagen/src/main/java/io/qala/datagen/RandomShortApi.java
// public static String nullOrBlank() {
//     return sample("", between(1, 100).string(' '), null);
// }


// Path: junit5/src/main/java/io/qala/datagen/junit/jupiter/BlankStringProvider.java
import java.util.stream.Stream;
import static io.qala.datagen.RandomShortApi.nullOrBlank;

package io.qala.datagen.junit.jupiter;



public class BlankStringProvider extends RandomizedArgumentProvider<BlankString> {
    private BlankString annotation;

    @Override
    public void accept(BlankString annotation) {
        this.annotation = annotation;
    }

    @Override Stream<Object[]> getValueWithDescription() {
        return Stream.of(annotation)
                .map(BlankStringProvider::generateParams);
    }

    @Override Stream<Object> getValue() {
        return Stream.of(generateParam());
    }

    static String generateParam() {
        return nullOrBlank();