queueInputLines("", "", "", "", "", "");
getShell().execute("java new-class --named Bean --package com.test");
getShell().execute(arquillianSetupCommand);
getShell().execute("arquillian create-test --class com.test.Bean");
assertThat(mavenCoreFacet.getPOM().getDependencies(), hasItem(new DependencyMatcher("junit")));
assertThat(mavenCoreFacet.getPOM().getDependencies(), hasItem(new DependencyMatcher("arquillian-junit-container")));
final JavaSource<?> testClass = project.getFacet(JavaSourceFacet.class)
.getTestJavaResource("com.test.BeanTest")
.getJavaSource();
assertTrue("@RunWith custom runner should be used", testClass.getAnnotation(RunWith.class).getClassValue().equals(Arquillian.class));