de.akquinet.jbosscc.needle.annotation
Annotation Type ObjectUnderTest


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface ObjectUnderTest

Is used to specify a object under test. The annotated fields will initialized by the NeedleTestcase.


Optional Element Summary
 String id
          (Optional) The id of the object under test.
 Class<?> implementation
          (Optional) The implementation class of the object under test.
 

implementation

public abstract Class<?> implementation
(Optional) The implementation class of the object under test.

Default is the field type.

Default:
java.lang.Void.class

id

public abstract String id
(Optional) The id of the object under test.

Default is the field name.

Default:
""


Copyright © 2012 akquinet AG. All Rights Reserved.