Code example for Annotation

Methods: annotationType

0
 
/** 
 * Test case of java.lang.annotation.Annotation 
 */ 
@TestTargetClass(value = Annotation.class,
        untestedMethods = { 
            @TestTargetNew( 
                level = TestLevel.NOT_NECESSARY, 
                notes = "the spec does not require any specific output (although @something is probable)", 
                method = "toString", 
                args = {} 
            )} 
)  
public class AnnotationTest extends TestCase {
 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "annotationType", 
        args = {} 
    )