@@ -0,0 +1,879 @@
+package io.kubernetes.client;%0A%0Aimport okio.ByteString;%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.*;%0A%0Apublic class JSONTest %7B%0A%0A    @Test%0A    public void testSerializeByteArray() %7B%0A        final JSON json = new JSON();%0A        final String plainText = %22string that contains '=' when encoded%22;%0A        final String base64String = json.serialize(plainText.getBytes());%0A        //serialize returns string surrounded by quotes: %22%5C%22%5Bbase64%5D%5C%22%22%0A        final String pureString = base64String.replaceAll(%22%5E%5C%22%7C%5C%22$%22, %22%22);%0A        final ByteString byteStr = ByteString.decodeBase64(pureString);%0A%0A        //Check encoded to valid base64%0A        assertNotNull(byteStr);%0A%0A        //Check encoded string correctly%0A        final String decodedText =new String(byteStr.toByteArray());%0A        assertThat(decodedText, is(plainText));%0A    %7D%0A%7D

Add jUnit Test