Revised checkResource implementation

Issue: SPR-14729
(cherry picked from commit ca17edd)
This commit is contained in:
Juergen Hoeller
2016-09-18 21:04:37 +02:00
parent 9e5435e6f2
commit f532de92aa
2 changed files with 20 additions and 23 deletions

View File

@@ -44,7 +44,6 @@ import org.springframework.mock.web.test.MockServletContext;
import org.springframework.web.context.support.StaticWebApplicationContext;
import org.springframework.web.servlet.DispatcherServlet;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import static org.mockito.BDDMockito.*;
@@ -64,6 +63,7 @@ public class ScriptTemplateViewTests {
@Rule
public ExpectedException expectedException = ExpectedException.none();
@Before
public void setup() {
this.configurer = new ScriptTemplateConfigurer();