@@ -0,0 +1,716 @@
+package com.github.dreamhead.moco.util;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic class FileContentTypeTest %7B%0A%09private final String DEFAULT_CONTENT_TYPE = %22text/plain; charset=UTF-8%22;%0A%09private final String PNG_CONTENT_TYPE = %22image/png%22;%0A%0A%09@Test%0A%09public void should_get_type_from_filename() %7B%0A%09%09FileContentType contentType = new FileContentType(%22logo.png%22);%0A%09%09assertThat(contentType.getContentType(), is(PNG_CONTENT_TYPE));%0A%09%7D%0A%0A%09@Test%0A%09public void should_get_default_type_from_unknown_name() %7B%0A%09%09FileContentType contentType = new FileContentType(%22UNKNOWN_FILE%22);%0A%09%09assertThat(contentType.getContentType(), is(DEFAULT_CONTENT_TYPE));%0A%09%7D%0A%7D%0A

add test for FileContentType class