1 package de.todesbaum.jsite.application;
3 import static org.hamcrest.MatcherAssert.assertThat;
4 import static org.hamcrest.Matchers.is;
9 * Unit test for {@link ProjectTest}.
11 * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
13 public class ProjectTest {
16 public void mimeTypeForTarBz2IsRecognizedCorrectly() {
17 Project project = new Project();
18 FileOption fileOption = project.getFileOption("foo.tar.bz2");
19 assertThat(fileOption.getMimeType(), is("application/x-gtar"));