Skip to content

Commit

Permalink
Better unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Nov 20, 2013
1 parent e5d2c34 commit 0272bee
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -18,6 +18,7 @@
import javax.ws.rs.core.MediaType;

import org.fcrepo.kernel.utils.iterators.RdfStream;
import org.junit.Before;
import org.junit.Test;
import com.hp.hpl.jena.graph.Triple;
import com.hp.hpl.jena.rdf.model.Model;
Expand All @@ -26,6 +27,11 @@ public class RdfStreamProviderTest {

private RdfStreamProvider testProvider = new RdfStreamProvider();

@Before
public void setUp() {
testProvider.registerMimeTypes();
}

@Test
public void testGetSize() {
assertEquals(-1, testProvider.getSize(null, null, null, null, null));
Expand Down

0 comments on commit 0272bee

Please sign in to comment.