in JAVA by
Q:

Select the correct syntax for creating MockMvc instance for EmployeeController,java.

this.mockMvc = MockMvcBuilders.standaloneSetup (employeeController).setup();

this.mockMvc = MockMvcBuilders.standaloneSetup (employeeController);

this.mockMvc = MockMvcBuilders.standaloneSetup();

this.mockMvc = MockMvcBuilders.standaloneSetup (employeeController).build();

1 Answer

0 votes
by
this.mockMvc = MockMvcBuilders.standaloneSetup (employeeController).build();

Related questions

0 votes
asked May 18, 2020 in JAVA by AdilsonLima
0 votes
asked Dec 12, 2019 in JAVA by AdilsonLima
0 votes
asked Feb 12, 2020 in JAVA by rahuljain1
0 votes
asked Apr 21, 2020 in JAVA by Hodge
...