@Test
public void shouldAddVariousHeaderInformationsToRequestWhenHeaderParamAnnotationIsPresent() throws Exception {
Object[] values = new Object[] { new Object() };
Method method = HeaderParamComponent.class.getDeclaredMethod("otherMethod", String.class, String.class, String.class);
ResourceMethod resouceMethod = DefaultResourceMethod.instanceFor(HeaderParamComponent.class, method);
when(request.getHeader("X-MyApp-User")).thenReturn("user");
when(request.getHeader("X-MyApp-Password")).thenReturn("123");
when(request.getHeader("X-MyApp-Token")).thenReturn("daek2321");
when(parametersProvider.getParametersFor(resouceMethod, errors, bundle)).thenReturn(values);