Buggy code:
public class ExpressionTypeConverterUnitTestCase { @ Test public void testBigIntegerConverter ( ) { } @ Test public void testBigDecimalConverter ( ) { } @ Test public void testIntConverter ( ) { } @ Test public void testBooleanConverter ( ) { } @ Test public void testBytesConverter ( ) { } @ Test public void testDoubleConverter ( ) { } @ Test public void testStringConverter ( ) { } @ Test public void testLongConverter ( ) { } @ Test public void testTypeConverter ( ) { } @ Test public void testUndefinedTypeConverter ( ) { } @ Test public void testPropertyTypeConverter ( ) throws Exception { } @ Test public void testPropertyValueTypeConverter ( ) throws Exception { } @ Test public void testSimpleTypeList ( ) throws Exception { } @ Test public void testByteArrayList ( ) throws Exception { } @ Test public void testSimpleTypeObject ( ) throws Exception { } @ Test public void testByteArrayObject ( ) throws Exception { } @ Test public void testComplexValue ( ) throws Exception { } @ Test public void testComplexList ( ) throws Exception { } @ Test public void testJsonObject ( ) throws Exception { } @ Test public void testJsonObjectInList ( ) throws Exception { } @ Test public void testJsonObjectInComplexValue ( ) throws Exception { } @ Test public void testBigIntegerExpressionConverter ( ) throws Exception { } @ Test public void testBigDecimalExpressionConverter ( ) throws Exception { } @ Test public void testIntExpressionConverter ( ) throws Exception { } @ Test public void testBooleanExpressionConverter ( ) throws Exception { } @ Test public void testDoubleExpressionConverter ( ) throws Exception { } @ Test public void testStringExpressionConverter ( ) throws Exception { } @ Test public void testStringVaultExpressionConverter ( ) throws Exception { } @ Test public void testLongExpressionConverter ( ) throws Exception { } @ Test public void testTypeExpressionConverter ( ) throws Exception { } @ Test public void testUndefinedTypeExpressionConverter ( ) throws Exception { } @ Test public void testPropertyTypeExpressionConverter ( ) throws Exception { } @ Test public void testPropertyValueTypeExpressionConverter ( ) throws Exception { } @ Test public void testSimpleTypeExpressionList ( ) throws Exception { ModelNode description = createDescription ( LIST , INT ) ; description . get ( EXPRESSIONS_ALLOWED ) . set ( true ) ; TypeConverter converter = getConverter ( description ) ; <START_BUG> ArrayType < ? > arrayType = assertCast ( ArrayType . class , converter . getOpenType ( ) ) ; <END_BUG> ModelNode node = new ModelNode ( ) ; node . addExpression ( "${this.should.not.exist.!!!!!:1}" ) ; node . addExpression ( "${this.should.not.exist.!!!!!:2}" ) ; String [ ] data = assertCast ( String [ ] . class , converter . fromModelNode ( node ) ) ; Assert . assertEquals ( "${this.should.not.exist.!!!!!:1}" , data [ 0 ] ) ; Assert . assertEquals ( "${this.should.not.exist.!!!!!:2}" , data [ 1 ] ) ; ModelNode newNode = converter . toModelNode ( data ) ; Assert . assertEquals ( node , newNode ) ; } @ Test public void testSimpleTypeObjectExpressions ( ) throws Exception { } @ Test public void testBigIntegerEmptyConverter ( ) { } @ Test public void testBigDecimalEmptyConverter ( ) { } @ Test public void testIntEmptyConverter ( ) { } @ Test public void testBooleanEmptyConverter ( ) { } @ Test public void testDoubleEmptyConverter ( ) { } @ Test public void testStringEmptyConverter ( ) { } @ Test public void testLongEmptyConverter ( ) { } @ Test public void testTypeEmptyConverter ( ) { } @ Test public void testUndefinedTypeEmptyConverter ( ) { } @ Test public void testSimpleTypeEmptyList ( ) throws Exception { } @ Test public void testSimpleTypeObjectEmpty ( ) throws Exception { } private OpenType < ? > assertCompositeType ( CompositeType composite , String name , String type , String description ) { } private OpenType < ? > assertCompositeType ( CompositeType composite , String name , String type , String description , boolean validateType ) { } private void assertMapType ( OpenType < ? > mapType , OpenType < ? > keyType , OpenType < ? > valueType ) { } private < T > T assertCast ( Class < T > clazz , Object value ) { } private void assertToArray ( TypeConverter converter , Object ... values ) { } private List < Object > createList ( Object ... values ) { } private TypeConverter getConverter ( ModelNode description ) { } private ModelNode createDescription ( ModelType type ) { } private ModelNode createDescription ( ModelType type , ModelType valueType ) { } }

Fix:
assertCast ( ArrayType . class , converter . getOpenType ( ) ) ;