title: MockMvc configure a header for all requests
body: <p>In my tests I setup the <code>MockMvc</code> object in the <code>@Before</code> like this</p>
  
  <pre><code>mockMvc = MockMvcBuilders.webAppContextSetup(context)
                  .apply(springSecurity())
                  .build();
  </code></pre>
  
  <p>In every request I do I always need to send the same headers.
  Is there a way to configure the headers the <code>MockMvc</code> will use globally or per test class?</p>