// Path: src/test/java/ru/vyarus/guice/validator/compositeannotation/ComposedCheckService.java
// @Singleton
// @ValidateOnExecution
// public class ComposedCheckService {
// 
//     public String checkParam(@ComposedCheck String string) {
//         return string;
//     }
// 
//     // todo can't make composed annotation work for return value
// //    @ComposedCheck
// //    public String checkReturn(String string) {
// //        return string;
// //    }
// }


import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import ru.vyarus.guice.validator.compositeannotation.ComposedCheckService;
import jakarta.validation.ConstraintViolationException;
import java.util.Collection;
package ru.vyarus.guice.validator;



/**
 * @author Vyacheslav Rusakov
 * @since 25.06.2014
 */
@RunWith(Parameterized.class)
public class ComposedCheckValidationTest extends AbstractParameterizedTest<ComposedCheckService> {

    public ComposedCheckValidationTest(String type, ComposedCheckService service) {
        super(type, service);
    }

    @Parameterized.Parameters(name = "{index}: {0}")
    public static Collection<Object[]> generateData() {
// Path: src/test/java/ru/vyarus/guice/validator/compositeannotation/ComposedCheckService.java
// @Singleton
// @ValidateOnExecution
// public class ComposedCheckService {
// 
//     public String checkParam(@ComposedCheck String string) {
//         return string;
//     }
// 
//     // todo can't make composed annotation work for return value
// //    @ComposedCheck
// //    public String checkReturn(String string) {
// //        return string;
// //    }
// }


// Path: src/test/java/ru/vyarus/guice/validator/ComposedCheckValidationTest.java
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import ru.vyarus.guice.validator.compositeannotation.ComposedCheckService;
import jakarta.validation.ConstraintViolationException;
import java.util.Collection;

package ru.vyarus.guice.validator;



/**
 * @author Vyacheslav Rusakov
 * @since 25.06.2014
 */
@RunWith(Parameterized.class)
public class ComposedCheckValidationTest extends AbstractParameterizedTest<ComposedCheckService> {

    public ComposedCheckValidationTest(String type, ComposedCheckService service) {
        super(type, service);
    }

    @Parameterized.Parameters(name = "{index}: {0}")
    public static Collection<Object[]> generateData() {
        return AbstractParameterizedTest.generateData(ComposedCheckService.class);