示例#1
0
 @Test
 public void testArgumentTypes() {
   ArrayList<TypeData> argtypes = method.getArgumentData();
   assertEquals(argtypes.size(), argumentTypes.size());
   for (int i = 0; i < argtypes.size(); i++) {
     assertEquals(argtypes.get(i), argumentTypes.get(i));
   }
 }
示例#2
0
 @Test
 public void testAccessType() {
   assertEquals(this.accessType, method.getAccessType());
 }
示例#3
0
 @Test
 public void testReturnType() {
   assertEquals(this.type.getBaseDataType(), method.getReturnType().getBaseDataType());
 }
示例#4
0
 @Test
 public void testName() {
   assertEquals(this.name, method.getName());
 }