atunit.spring
Annotation Type Bean


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

Binds a field to a bean in the Spring application context. Bean definitions from the test class fields are merged into the same context as bean definitions from other sources (such as an XML file).


Optional Element Summary
 String value
          An optional bean name to use.
 

value

public abstract String value
An optional bean name to use. By default, beans are autowired by type.

Default:
""