ArrayExp extends NestedExp { @Override protected String getCode() { return code; } ArrayExp(Class<?> arrayClass, List<NestedExp> values);  ArrayExp(Class<?> arrayClass, NestedExp... values); static ArrayExp forParamTypes(CtBehavior behavior);  }
@Test public void testArrayExpWithList() { assertEquals("new java.lang.String[] { \"one\", \"two\", \"three\" }", new ArrayExp(String.class, Arrays .<NestedExp> asList(new ValueExp("one"), new ValueExp("two"), new ValueExp("three"))).getCode()); }
@Test public void testArrayExpWithEllipse() { assertEquals("new java.lang.String[] { \"one\", \"two\", \"three\" }", new ArrayExp(String.class, new ValueExp( "one"), new ValueExp("two"), new ValueExp("three")).getCode()); }
@Test public void testArrayExpEmpty() { assertEquals("new java.lang.String[0]", new ArrayExp(String.class).getCode()); }