Buggy code:
@ Override public boolean canRead ( EvaluationContext context , Object target , String name ) throws AccessException { } @ Override public boolean canWrite ( EvaluationContext context , Object target , String name ) throws AccessException { } @ Override public Class < ? > [ ] getSpecificTargetClasses ( ) { } @ Override public TypedValue read ( EvaluationContext context , Object target , String name ) throws AccessException { } @ Override public void write ( EvaluationContext context , Object target , String name , Object newValue ) throws AccessException { } } class ContextObject { public Map < String , String > firstContext = new HashMap < String , String > ( ) ; public Map < String , String > secondContext = new HashMap < String , String > ( ) ; public Map < String , String > thirdContext = new HashMap < String , String > ( ) ; public Map < String , String > fourthContext = new HashMap < String , String > ( ) ; public ContextObject ( ) { } public Map < String , String > getFirstContext ( ) { } public Map < String , String > getSecondContext ( ) { } public Map < String , String > getThirdContext ( ) { } public Map < String , String > getFourthContext ( ) { } } @ Test public void customStaticFunctions_SPR9038 ( ) { } @ Test public void array ( ) { } @ Test public void SPR9486_floatFunctionResolver ( ) throws Exception { } class SPR9486_FunctionsClass { public int abs ( int value ) { } public float abs ( float value ) { } } @ Test public void SPR9486_addFloatWithDouble ( ) { } @ Test public void SPR9486_addFloatWithFloat ( ) { } @ Test public void SPR9486_subtractFloatWithDouble ( ) { } @ Test public void SPR9486_subtractFloatWithFloat ( ) { } @ Test public void SPR9486_multiplyFloatWithDouble ( ) { } @ Test public void SPR9486_multiplyFloatWithFloat ( ) { } @ Test public void SPR9486_floatDivideByFloat ( ) { } @ Test public void SPR9486_floatDivideByDouble ( ) { } @ Test public void SPR9486_floatEqFloatUnaryMinus ( ) { } @ Test public void SPR9486_floatEqDoubleUnaryMinus ( ) { } @ Test public void SPR9486_floatEqFloat ( ) { } @ Test public void SPR9486_floatEqDouble ( ) { } @ Test public void SPR9486_floatNotEqFloat ( ) { } @ Test public void SPR9486_floatNotEqDouble ( ) { } @ Test public void SPR9486_floatLessThanFloat ( ) { } @ Test public void SPR9486_floatLessThanDouble ( ) { } @ Test public void SPR9486_floatLessThanOrEqualFloat ( ) { } @ Test public void SPR9486_floatLessThanOrEqualDouble ( ) { } @ Test public void SPR9486_floatGreaterThanFloat ( ) { } @ Test public void SPR9486_floatGreaterThanDouble ( ) { } @ Test public void SPR9486_floatGreaterThanOrEqualFloat ( ) { } @ Test public void SPR9486_floatGreaterThanEqualDouble ( ) { } @ Test public void SPR9486_floatModulusFloat ( ) { } @ Test public void SPR9486_floatModulusDouble ( ) { } @ Test public void SPR9486_floatPowerFloat ( ) { } @ Test public void SPR9486_floatPowerDouble ( ) { } @ Test public void SPR9994_bridgeMethods ( ) throws Exception { } @ Test public void SPR10162_onlyBridgeMethod ( ) throws Exception { } @ Test public void SPR10091_simpleTestValueType ( ) { } @ Test public void SPR10091_simpleTestValue ( ) { } @ Test public void SPR10091_primitiveTestValueType ( ) { } @ Test public void SPR10091_primitiveTestValue ( ) { } @ Test public void SPR10146_malformedExpressions ( ) throws Exception { } private void doTestSpr10146 ( String expression , String expectedMessage ) { } @ Test public void SPR10125 ( ) throws Exception { } @ Test public void SPR10210 ( ) throws Exception { } @ Test public void SPR10328 ( ) throws Exception { } @ Test public void SPR10452 ( ) throws Exception { } @ Test public void SPR9495 ( ) throws Exception { } @ Test public void SPR10486 ( ) throws Exception { } @ Test public void SPR11142 ( ) throws Exception { SpelExpressionParser parser = new SpelExpressionParser ( ) ; StandardEvaluationContext context = new StandardEvaluationContext ( ) ; SpelReproTests . SPR11142 rootObject = new SpelReproTests . SPR11142 ( ) ; Expression expression = parser . parseExpression ( "something" ) ; thrown . expect ( SpelEvaluationException . class ) ; <START_BUG> thrown . expectMessage ( "property<seq2seq4repair_space>'something'<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>found" ) ; <END_BUG> expression . getValue ( context , rootObject ) ; } @ Test public void SPR9194 ( ) { } @ Test public void SPR11348 ( ) { } @ Test public void SPR11445_simple ( ) { } @ Test public void SPR11445_beanReference ( ) { } static class Spr11445Class implements BeanResolver { private final AtomicInteger counter = new AtomicInteger ( ) ; public int echo ( int invocation ) { } public int parameter ( ) { } @ Override public Object resolve ( EvaluationContext context , String beanName ) throws AccessException { } } @ Test public void SPR11494 ( ) { } private static enum ABC { A , B , C ; } private static enum XYZ { X , Y , Z ; } public static class BooleanHolder { private Boolean simpleProperty = true ; private boolean primitiveProperty = true ; public Boolean isSimpleProperty ( ) { } public void setSimpleProperty ( Boolean simpleProperty ) { } public boolean isPrimitiveProperty ( ) { } public void setPrimitiveProperty ( boolean primitiveProperty ) { } } private static interface GenericInterface < T extends Number > { public T getProperty ( ) { } } private static class GenericImplementation implements SpelReproTests . GenericInterface < Integer > { @ Override public Integer getProperty ( ) { } } static class PackagePrivateClassWithGetter { public Integer getProperty ( ) { } } public static class OnlyBridgeMethod extends SpelReproTests . PackagePrivateClassWithGetter { } public static interface StaticFinal { public static final String VALUE = "interfaceValue" ; } public abstract static class AbstractStaticFinal implements SpelReproTests . StaticFinal { }

Fix:
thrown . expectMessage ( "'something'<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>found" ) ;