I'm using spring-mvc-test to validate my server. One of the things I do is andExpect(content().contentType(MediaType.APPLICAT ION_JSON)), but my server is actually returning "application/json; charset=UTF-8".

I'd like for the test to pass in this case, and consider it a bug in the testing and/or the MediaType in that it doesn't parse that stuff out.

Thoughts?