package com.github.jsonldjava.core;

import com.github.jsonldjava.utils.JsonUtils;
import java.io.IOException;
import java.util.Map;

import org.junit.Test;
import static org.junit.Assert.*;

public class JsonLdFramingTest {

    @Test
    public void testFrame0001() throws IOException, JsonLdError {
        Object frame = JsonUtils.fromInputStream(
                getClass().getResourceAsStream("/custom/frame-0001-frame.jsonld"));
        Object in = JsonUtils.fromInputStream(
                getClass().getResourceAsStream("/custom/frame-0001-in.jsonld"));

        Map<String, Object> frame2 = JsonLdProcessor.frame(in, frame, new JsonLdOptions());
        
        assertEquals(2, frame2.size());
    }

}

package com.github.jsonldjava.core;

import com.github.jsonldjava.utils.JsonUtils;
import java.io.IOException;
import org.junit.Test;
import static org.junit.Assert.*;

public class JsonLdFramingTest {

    @Test
    public void testFrame0001() throws IOException, JsonLdError {
        try {
            Object frame = JsonUtils.fromInputStream(
                    getClass().getResourceAsStream("/custom/frame-0001-frame.jsonld"));
            Object in = JsonUtils.fromInputStream(
                    getClass().getResourceAsStream("/custom/frame-0001-in.jsonld"));

            JsonLdProcessor.frame(in, frame, new JsonLdOptions());
        } catch (Throwable t) {
            t.printStackTrace();
            
            fail();
        }
    }

}

--- 
+++ 
@@ -2,6 +2,8 @@
 
 import com.github.jsonldjava.utils.JsonUtils;
 import java.io.IOException;
+import java.util.Map;
+
 import org.junit.Test;
 import static org.junit.Assert.*;
 
@@ -9,18 +11,14 @@
 
     @Test
     public void testFrame0001() throws IOException, JsonLdError {
-        try {
-            Object frame = JsonUtils.fromInputStream(
-                    getClass().getResourceAsStream("/custom/frame-0001-frame.jsonld"));
-            Object in = JsonUtils.fromInputStream(
-                    getClass().getResourceAsStream("/custom/frame-0001-in.jsonld"));
+        Object frame = JsonUtils.fromInputStream(
+                getClass().getResourceAsStream("/custom/frame-0001-frame.jsonld"));
+        Object in = JsonUtils.fromInputStream(
+                getClass().getResourceAsStream("/custom/frame-0001-in.jsonld"));
 
-            JsonLdProcessor.frame(in, frame, new JsonLdOptions());
-        } catch (Throwable t) {
-            t.printStackTrace();
-            
-            fail();
-        }
+        Map<String, Object> frame2 = JsonLdProcessor.frame(in, frame, new JsonLdOptions());
+        
+        assertEquals(2, frame2.size());
     }
 
 }
Add positive test for completion in the framing test