@@ -0,0 +1,1158 @@
+/**%0A * %0A */%0Apackage test.ccn.library;%0A%0Aimport java.io.UnsupportedEncodingException;%0A%0Aimport org.junit.Test;%0A%0Aimport com.parc.ccn.data.ContentName;%0Aimport com.parc.ccn.data.MalformedContentNameStringException;%0Aimport com.parc.ccn.data.security.PublisherID;%0Aimport com.parc.ccn.library.StandardCCNLibrary;%0Aimport com.parc.ccn.security.keys.KeyManager;%0A%0A%0A/**%0A * @author briggs%0A *%0A */%0Apublic class StandardCCNLibraryTest %7B%0A%0A%09@Test%0A%09public void testPut() %7B%0A%09%09KeyManager keyManager = new  KeyManager();%0A%09%09StandardCCNLibrary library = new StandardCCNLibrary(keyManager);%0A%09%09ContentName name = null;%0A%09%09String contentString = %22This is a very small amount of content%22;%0A%09%09byte%5B%5D content = null;%0A//%09%09ContentAuthenticator.ContentType type = ContentAuthenticator.ContentType.LEAF;%0A%09%09PublisherID publisher = null;%0A%09%09%0A%09%09try %7B%0A%09%09%09content = contentString.getBytes(%22UTF-8%22);%09%0A%09%09%7D catch (UnsupportedEncodingException e) %7B%0A%09%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09%0A%09%09try %7B%0A%09%09%09name = new ContentName(%22/test/briggs/foo.txt%22);%0A%09%09%7D catch (MalformedContentNameStringException e) %7B%0A%09%09%09// TODO Auto-generated catch block%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09library.put(name, content, publisher);%0A%09%7D%0A%09%0A%7D%0A

add start of JUnit tests