Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ public class SampleApplicationMvcTests {
@Autowired
private MockMvc mockMvc;

@Test
public void words1() throws Exception {
MvcResult result = this.mockMvc.perform(get("/words|uppercase")).andReturn();
mockMvc.perform(asyncDispatch(result)).andExpect(content().string("[\"FOO\",\"BAR\"]"));
}

@Test
public void words() throws Exception {
MvcResult result = this.mockMvc.perform(get("/words")).andReturn();
Expand Down