{
Project project = projectHelper.createJavaLibraryProject();
CDIFacet_1_0 cdiFacet = projectHelper.installCDI_1_0(project);
org.jboss.shrinkwrap.descriptor.api.beans10.BeansDescriptor config = cdiFacet.getConfig();
config.getOrCreateAlternatives().clazz("org.myclazz.MyAlternative");
cdiFacet.saveConfig(config);
shellTest.execute("cd " + project.getRoot().getFullyQualifiedName(), 10, TimeUnit.SECONDS);
shellTest.execute("cdi-list-alternatives", 10, TimeUnit.SECONDS);
Assert.assertThat(shellTest.getStdOut(), CoreMatchers.containsString("org.myclazz.MyAlternative"));
}