title: Unable to resolve place holder in Mockito Unit test
body: <p>The Controller that I'm trying to write unit test case for is as follows - </p>
  
  <pre><code>@RequestMapping("${rest.base.path}/plugin")
  public class Controller {
  .
  .
  .
  } 
  </code></pre>
  
  <p>The Unit test case is setup - </p>
  
  <pre><code>@RunWith(MockitoJUnitRunner.class)
  public class ControllerTest {
  
      @Autowired
      private MockMvc mvc;
  
      @InjectMocks
      Controller dataController;
  
      @Mock
      PluginService pluginService;
  
  
      @Test
      public void createFiles() throws Exception {
          this.mvc = MockMvcBuilders.standaloneSetup(dataController).build();
          mvc.perform(MockMvcRequestBuilders.get("/dc/plugin")
                  .contentType(MediaType.APPLICATION_JSON));
      }
  </code></pre>
  
  <p>On running the unit test, it's unable to resolve the placeholder <strong>${rest.base.path}</strong> as I'm not loading the Spring Context. I tried setting the <strong>System.setProperty("rest.base.path", "/api")</strong> without any success. Is there anyway I can assign value to that placeholder without removing <strong>@RunWith(MockitoJUnitRunner.class)</strong>?</p>