	@Test
	public void testMatch() {

		ProduceMediaTypeExpression expression = createExpression(
				MediaType.APPLICATION_JSON_VALUE);
		Assert.assertTrue(expression.match(
				Arrays.asList(MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON)));

		expression = createExpression(MediaType.APPLICATION_JSON_VALUE);
		Assert.assertFalse(expression.match(Arrays.asList(MediaType.APPLICATION_XML)));
	}