package org.netling.ssh.util;

import java.io.IOException;

import org.junit.Test;
import org.netling.util.Base64;


public class Base64Test {
	
	@Test
	public void testEncodeDecode() throws IOException {
		String s = "Hello world";
		String encoded = Base64.encodeBytes(s.getBytes());
		System.out.println(encoded);
		String decoded = new String(Base64.decode(encoded));
		System.out.println(decoded);
	}

}

@@ -24,16 +24,62 @@
 .util;%0A%0A
+import static org.junit.Assert.assertEquals;%0A%0A
 import j
@@ -329,39 +329,8 @@
 ));%0A
-%09%09System.out.println(encoded);%0A
 %09%09St
@@ -386,27 +386,24 @@
 ;%0A%09%09
-System.out.println(
+assertEquals(s, 
 deco

Fix up test