@Test
public void testUnRegisterJar() throws Exception {

	PigResource resource= new PigResource();
	String str= "abcde";
	InputStream input= new ByteArrayInputStream(str.getBytes("UTF-8"));
	Response resp= resource.registerJar("delete.jar", input);
	Assert.assertEquals(resp.getStatus(), 200);
	
	resource.unregisterJar("delete.jar");
	Assert.assertEquals(resp.getStatus(), 200);
	
	try {
		resource.unregisterJar("delete1.jar");
	} catch (Exception e) {
		Assert.assertNotNull(e);
	}
}