fix test name

pull/241/head
Mahmoud Ben Hassine 5 years ago
parent 8c78a14964
commit 9710eb1301
No known key found for this signature in database
GPG Key ID: 79FCFB0A184E0036

@ -71,7 +71,7 @@ public class SpELActionTest {
} }
@Test @Test
public void testMVELActionExecutionWithFailure() throws Exception { public void testSpELActionExecutionWithFailure() throws Exception {
// given // given
expectedException.expect(Exception.class); expectedException.expect(Exception.class);
expectedException.expectMessage("EL1004E: Method call: Method setBlah(java.lang.Boolean) cannot be found on type org.jeasy.rules.spel.Person"); expectedException.expectMessage("EL1004E: Method call: Method setBlah(java.lang.Boolean) cannot be found on type org.jeasy.rules.spel.Person");
@ -88,7 +88,7 @@ public class SpELActionTest {
} }
@Test @Test
public void testMVELActionWithExpressionAndParserContext() throws Exception { public void testSpELActionWithExpressionAndParserContext() throws Exception {
// given // given
ParserContext context = new TemplateParserContext(); ParserContext context = new TemplateParserContext();
Action printAction = new SpELAction("#{ T(org.jeasy.rules.spel.Person).sayHello() }", context); Action printAction = new SpELAction("#{ T(org.jeasy.rules.spel.Person).sayHello() }", context);
@ -101,4 +101,4 @@ public class SpELActionTest {
assertThat(systemOutRule.getLog()).contains("hello"); assertThat(systemOutRule.getLog()).contains("hello");
} }
} }

Loading…
Cancel
Save