title: NoSuchMethodError with spring-webmvc upgrade
body: <p>We upgraded to <code>spring-webmvc 5.2.3.RELEASE</code>.<br>
  This is causing a JUnit to fail.<br>
  I think the issue is with the <code>.build()</code> method - it can't be found.  </p>
  
  <p>The code: </p>
  
  <pre><code>@RunWith(MockitoJUnitRunner.class)
  public class CommunicationDeliveryControllerTest {
  
      @InjectMocks
      CommunicationDeliveryController controller = new CommunicationDeliveryController();
  
      @Mock
      private RequestHandler requestHandler;
  
      @Mock
      private HttpServletRequest httpServletRequest;
  
      private MockMvc mockMvc;
      private Gson gson = new Gson();
      private CommunicationDeliveryController spiedController;
  
      @Before
      public void setup() {
          spiedController = spy(controller);
          mockMvc = standaloneSetup(spiedController).build();
      }
  
      @Test
      public void initiateBatchRunTest() throws Exception{
          MvcResult result = mockMvc.perform(post("/api/BatchRun").contentType(MediaType.APPLICATION_JSON_VALUE).content(gson.toJson(BulkCommunicationRequestData.getBulkEmailRequestForPositive()))).andReturn();
          assertEquals(HttpStatus.OK.value(), result.getResponse().getStatus());
      }
  
      @Test
      public void deliverCommunicationTest() throws Exception{
          MvcResult result = mockMvc.perform(post("/api/deliverCommunication").contentType(MediaType.APPLICATION_JSON_VALUE).content(gson.toJson(BulkCommunicationRequestData.populateAllEmailDetail()))).andReturn();
          assertEquals(HttpStatus.OK.value(), result.getResponse().getStatus());
      }
  }
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>java.lang.NoSuchMethodError: org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StandaloneConfiguration.getInterceptors()[Ljava/lang/Object;
          at company.custcomm.service.communicationdelivery.controllers.CommunicationDeliveryControllerTest.setup(CommunicationDeliveryControllerTest.java:45)
  </code></pre>
  
  <p>Are there compatibility issues between our versions of spring-webmvc, mockito, and JUnit?</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.mockito&lt;/groupId&gt;
      &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
      &lt;version&gt;1.10.19&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;junit&lt;/groupId&gt;
      &lt;artifactId&gt;junit&lt;/artifactId&gt;
      &lt;version&gt;4.12&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
      &lt;version&gt;5.2.3.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>