spring-custom-aop -> spring-aop (#1489)

This commit is contained in:
Grzegorz Piwowarek
2017-03-25 09:25:51 +01:00
committed by GitHub
parent 9472f0dd65
commit b6e271f1f0
7 changed files with 1 additions and 0 deletions
@@ -0,0 +1,21 @@
package org.baeldung;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public class CustomAnnotationTest {
@Autowired
private Service service;
@Test
public void shouldApplyCustomAnnotation() throws InterruptedException {
service.serve();
}
}