BAEL-926 Upgrade Junit 5 dependencies to use M4 (#1802)

* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* BAEL-905 Improvement task for spring boot testing

* BAEL-905 Improvement task for spring boot testing

* BAEL-926 Upgrade Junit 5 dependencies to use M4
This commit is contained in:
Yasin
2017-05-07 23:11:55 +05:30
committed by maibin
parent 2c23aa6ce9
commit 1e6f0da46a
4 changed files with 7 additions and 10 deletions
@@ -37,13 +37,13 @@ public class NestedTest {
@Test
@DisplayName("throws EmptyStackException when popped")
void throwsExceptionWhenPopped() {
Assertions.expectThrows(EmptyStackException.class, () -> stack.pop());
Assertions.assertThrows(EmptyStackException.class, () -> stack.pop());
}
@Test
@DisplayName("throws EmptyStackException when peeked")
void throwsExceptionWhenPeeked() {
Assertions.expectThrows(EmptyStackException.class, () -> stack.peek());
Assertions.assertThrows(EmptyStackException.class, () -> stack.peek());
}
@Nested