queueInputLines("", "", "", "", "", "");
getShell().execute("java new-class --named Bean --package com.test");
getShell().execute("arquillian setup --containerName GLASSFISH_EMBEDDED_3.1 --testFramework testng");
getShell().execute("arquillian create-test --class com.test.Bean");
assertThat(mavenCoreFacet.getPOM().getDependencies(), hasItem(new DependencyMatcher("testng")));
assertThat(mavenCoreFacet.getPOM().getDependencies(), hasItem(new DependencyMatcher("arquillian-testng-container")));
final JavaSource<?> testClass = project.getFacet(JavaSourceFacet.class)
.getTestJavaResource("com.test.BeanTest")
.getJavaSource();
assertTrue("@Test TestNG should be imported", testClass.hasImport("org.testng.annotations.Test"));