Skip to content

Commit b2800b7

Browse files
author
eugenp
committed
small testign work
1 parent 30dd0c8 commit b2800b7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

cdi/src/test/java/com/baeldung/test/TestInterceptor.java renamed to cdi/src/test/java/com/baeldung/test/InterceptorIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import com.baeldung.interceptor.AuditedInterceptor;
1111
import com.baeldung.service.SuperService;
1212

13-
public class TestInterceptor {
13+
public class InterceptorIntegrationTest {
1414
Weld weld;
1515
WeldContainer container;
1616

cdi/src/test/java/com/baeldung/test/SpringInterceptorIntegrationTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ public class SpringInterceptorIntegrationTest {
2323
@Autowired
2424
private List<String> accumulator;
2525

26+
//
27+
2628
@Test
2729
public void givenService_whenServiceAndAspectExecuted_thenOk() {
2830
String code = "123456";
2931
String result = springSuperService.getInfoFromService(code);
32+
3033
Assert.assertThat(accumulator.size(), is(2));
3134
Assert.assertThat(accumulator.get(0), is("Call to getInfoFromService"));
3235
Assert.assertThat(accumulator.get(1), is("Method called successfully: getInfoFromService"));
3336
}
37+
3438
}

0 commit comments

Comments
 (0)