@Test
public void testMimeTypes() throws Exception {

	Assert.assertEquals("text/plain", new FileResource(new File("myFile.txt")).getMimeType());
	Assert.assertEquals("video/mp4", new FileResource(new File("myFile.mp4")).getMimeType());
	Assert.assertEquals("audio/mp4", new FileResource(new File("myFile.m4a")).getMimeType());
	Assert.assertEquals("application/octet-stream", new FileResource(new File("myFile.xyz")).getMimeType());
}