Update SpringCachingBehaviorTest.java
This commit is contained in:
parent
1105949abf
commit
d54190eaa8
|
@ -9,12 +9,8 @@ import org.springframework.stereotype.Component;
|
|||
import static org.junit.Assert.*;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
|
||||
@Component
|
||||
|
||||
public class SpringCachingBehaviorTest {
|
||||
|
||||
@Test
|
||||
public void testCaching() {
|
||||
@SuppressWarnings("resource")
|
||||
|
@ -24,5 +20,4 @@ public class SpringCachingBehaviorTest {
|
|||
example.getAddress(cust);
|
||||
fail("Unable to instantiate the CustomerDataService");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue