Merge pull request #8127 from amit2103/BAEL-17317-2
[BAEL-17317] - Check article code - https://www.baeldung.com/junit-be…
This commit is contained in:
commit
dceea7f068
@ -34,7 +34,7 @@ public class BeforeAndAfterAnnotationsUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenCheckingListSize_ThenSizeEqualsToInit() {
|
public void whenCheckingListSize_thenSizeEqualsToInit() {
|
||||||
LOG.info("executing test");
|
LOG.info("executing test");
|
||||||
assertEquals(2, list.size());
|
assertEquals(2, list.size());
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ public class BeforeAndAfterAnnotationsUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenCheckingListSizeAgain_ThenSizeEqualsToInit() {
|
public void whenCheckingListSizeAgain_thenSizeEqualsToInit() {
|
||||||
LOG.info("executing another test");
|
LOG.info("executing another test");
|
||||||
assertEquals(2, list.size());
|
assertEquals(2, list.size());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user