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 static org.junit.Assert.*;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
|
|
||||||
public class SpringCachingBehaviorTest {
|
public class SpringCachingBehaviorTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testCaching() {
|
public void testCaching() {
|
||||||
@SuppressWarnings("resource")
|
@SuppressWarnings("resource")
|
||||||
|
@ -24,5 +20,4 @@ public class SpringCachingBehaviorTest {
|
||||||
example.getAddress(cust);
|
example.getAddress(cust);
|
||||||
fail("Unable to instantiate the CustomerDataService");
|
fail("Unable to instantiate the CustomerDataService");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue