Example #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));
   }
 }
Example #2
0
 @Test
 public void testAccessType() {
   assertEquals(this.accessType, method.getAccessType());
 }
Example #3
0
 @Test
 public void testReturnType() {
   assertEquals(this.type.getBaseDataType(), method.getReturnType().getBaseDataType());
 }
Example #4
0
 @Test
 public void testName() {
   assertEquals(this.name, method.getName());
 }