package com.atexpose.util.httpresponse;

import org.junit.Assert;
import org.junit.Test;
import org.junit.Rule;
import org.junit.rules.ExpectedException;

public class FileExtensionsTest extends FileExtensions{
    @Rule
    public ExpectedException exception = ExpectedException.none();
    @Test
    public void getContentType_monkeyDotTxt_ContentTypeTxt() {
        ContentType actual = FileExtensions.getContentType("monkey.txt");
        ContentType expected = ContentType.TEXT_FILE;
        Assert.assertEquals(expected, actual);
    }


    @Test
    public void getContentType_UnknownType_Exception() {
        exception.expect(RuntimeException.class);
        exception.expectMessage("No know content type for file");
        ContentType actual = FileExtensions.getContentType("monkey.yyy");
    }
}
@@ -202,16 +202,17 @@
 tensions
+ 
 %7B%0A    @R
@@ -282,16 +282,18 @@
 none();%0A
+%0A%0A
     @Tes
@@ -730,37 +730,16 @@
 %0A       
- ContentType actual =
  FileExt

Remove unused var