@Test
public void testMimeType() throws Exception {
MockApplication app = application("plugin.controller.mimetype.html").init();
MockClient client = app.client();
MockViewBridge render = client.render();
render.assertStringResponse("HELLO");
Iterable<String> mimeType = render.getResponse().getProperties().getValues(PropertyType.MIME_TYPE);
assertNotNull(mimeType);
Iterator<String> iterator = mimeType.iterator();
assertTrue(iterator.hasNext());
assertEquals("text/html", iterator.next());
}