@@ -0,0 +1,1102 @@
+package com.github.aureliano.evtbridge.annotation.doc;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport java.lang.reflect.Field;%0Aimport java.lang.reflect.Method;%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0Aimport org.junit.Test;%0A%0Aimport com.github.aureliano.evtbridge.common.doc.SchemaProperty;%0Aimport com.github.aureliano.evtbridge.common.helper.ReflectionHelper;%0A%0Apublic class SchemaPropertyTest %7B%0A%0A%09private final List%3CString%3E IGNORABLE_METHODS = new ArrayList%3C%3E(%0A%09%09Arrays.asList(%22equals%22, %22toString%22, %22hashCode%22, %22annotationType%22)%0A%09);%0A%09%0A%09@Test%0A%09public void testCheckAttributes() %7B%0A%09%09Method%5B%5D methods = com.github.aureliano.evtbridge.annotation.doc.SchemaProperty.class.getMethods();%0A%09%09for (Method m : methods) %7B%0A%09%09%09if (IGNORABLE_METHODS.contains(m.getName())) %7B%0A%09%09%09%09continue;%0A%09%09%09%7D%0A%09%09%09this.checkAttribute(m);%0A%09%09%7D%0A%09%7D%0A%09%0A%09private void checkAttribute(Method method) %7B%0A%09%09Field field = ReflectionHelper.getField(SchemaProperty.class, method.getName());%0A%09%09%0A%09%09assertEquals(method.getName(), field.getName());%0A%09%09assertEquals(method.getReturnType(), field.getType());%0A%09%7D%0A%7D

Create schema property test.