// Path: src/main/java/com/michaelfotiadis/validator/annotated/annotations/AnnotationCategory.java
// public enum AnnotationCategory {
// 
//     UNUSED,
//     GENERAL,
//     BYTE,
//     BOOLEAN,
//     INTEGER,
//     DOUBLE,
//     FLOAT,
//     SHORT,
//     STRING,
//     COLLECTION,
//     ARRAY
// 
// }


import com.michaelfotiadis.validator.annotated.annotations.AnnotationCategory;
import com.michaelfotiadis.validator.annotated.annotations.numeric.integernum.IntegerMinValue;
import org.junit.Test;
import java.lang.annotation.Annotation;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
package com.michaelfotiadis.validator.annotated.parser;





/**
 *
 */
public class AnnotationParserTest {


    @Test
    public void getCategoryOfAnnotation() throws Exception {

        TestInteger testInteger = new TestInteger();

        Annotation annotation = AnnotationParser.getAnnotation(testInteger, IntegerMinValue.class);

        assertNotNull(annotation);

// Path: src/main/java/com/michaelfotiadis/validator/annotated/annotations/AnnotationCategory.java
// public enum AnnotationCategory {
// 
//     UNUSED,
//     GENERAL,
//     BYTE,
//     BOOLEAN,
//     INTEGER,
//     DOUBLE,
//     FLOAT,
//     SHORT,
//     STRING,
//     COLLECTION,
//     ARRAY
// 
// }


// Path: src/test/com/michaelfotiadis/validator/annotated/parser/AnnotationParserTest.java
import com.michaelfotiadis.validator.annotated.annotations.AnnotationCategory;
import com.michaelfotiadis.validator.annotated.annotations.numeric.integernum.IntegerMinValue;
import org.junit.Test;
import java.lang.annotation.Annotation;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;

package com.michaelfotiadis.validator.annotated.parser;





/**
 *
 */
public class AnnotationParserTest {


    @Test
    public void getCategoryOfAnnotation() throws Exception {

        TestInteger testInteger = new TestInteger();

        Annotation annotation = AnnotationParser.getAnnotation(testInteger, IntegerMinValue.class);

        assertNotNull(annotation);

        AnnotationCategory category = AnnotationParser.getCategoryOfAnnotation(annotation);