@Test
public void defaultValue() throws Exception {

  RestServletRequestParamReader reader = createReader(ImmutableMap.of("path", "1234"));
  Object[] params = reader.read();
  assertThat(params).hasLength(endpointMethod.getParameterClasses().length);
  assertThat(params).asList()
      .containsExactly(
          1234L,
          null,
          JAN_1,
          new TestResource());
}