@Test(expected = MismatchedInputException.class)
public void testDeserializeInvalidToken() throws IOException {

  when(context.handleUnexpectedToken(eq(Float.class), eq(parser))).thenThrow(MismatchedInputException.class);
  deserializer.deserialize(parser, context);
}