// Path: mybatis-generator-pluginsplus/src/main/java/xyz/vsl/mybatis/generator/pluginsplus/Objects.java
// public static int findAnnotaion(List<String> annotations, String annotationClassName) {
//     return findAnnotaion(annotations, annotationClassName, null);
// }


import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import static org.junit.Assert.*;
import static xyz.vsl.mybatis.generator.pluginsplus.Objects.findAnnotaion;
package xyz.vsl.mybatis.generator.pluginsplus;




/**
 * @author Vladimir Lokhov
 */
public class FindAnnotationTest {

    private List<String> annotations;

    @Before
    public void initialize() {
        annotations = new ArrayList<String>();
        annotations.add("@NotNull");
        annotations.add("\t@\tColumn(name=\"test\")");
    }

    @Test
    public void found() {
// Path: mybatis-generator-pluginsplus/src/main/java/xyz/vsl/mybatis/generator/pluginsplus/Objects.java
// public static int findAnnotaion(List<String> annotations, String annotationClassName) {
//     return findAnnotaion(annotations, annotationClassName, null);
// }


// Path: mybatis-generator-pluginsplus/src/test/java/xyz/vsl/mybatis/generator/pluginsplus/FindAnnotationTest.java
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import static org.junit.Assert.*;
import static xyz.vsl.mybatis.generator.pluginsplus.Objects.findAnnotaion;

package xyz.vsl.mybatis.generator.pluginsplus;




/**
 * @author Vladimir Lokhov
 */
public class FindAnnotationTest {

    private List<String> annotations;

    @Before
    public void initialize() {
        annotations = new ArrayList<String>();
        annotations.add("@NotNull");
        annotations.add("\t@\tColumn(name=\"test\")");
    }

    @Test
    public void found() {
        assertEquals("#0, null", 0, findAnnotaion(annotations, "javax.validation.constraints.NotNull", null));