EXECUTE: Create a CDI project (with CDI support enabled)
EXECUTE: Add any CDI problem. For instance:
public class Test { @Inject String foo; @Produces public String foo1() { return ""; } @Produces public String foo2() { return ""; } }
ASSERT: There is a CDI problem marker on @Inject String foo;
EXECUTE: Disable CDI support in Project Properties page. Clean/re-build the project.
FAILURE: There is still CDI problem markers in the project.
ASSERT: The CDI problem disappeared.