@Test public void testDecrypt_3() throws Exception { final NoOpEncrypter fixture = new NoOpEncrypter(); final String encryptedSecret = ""; final byte[] bytes = fixture.decrypt(encryptedSecret.getBytes("UTF-8")); final String result = new String(bytes, "UTF-8"); Assert.assertEquals("", result); }
@Test public void testDecrypt_1() throws Exception { final NoOpEncrypter fixture = new NoOpEncrypter(); final String encryptedSecret = "secretin"; final byte[] bytes = fixture.decrypt(encryptedSecret.getBytes("UTF-8")); final String result = new String(bytes, "UTF-8"); Assert.assertEquals("secretin", result); }
@Test public void testDecrypt_3() throws Exception { final NoOpEncrypter fixture = new NoOpEncrypter(); final String encryptedSecret = ""; final byte[] bytes = fixture.decrypt(encryptedSecret.getBytes("UTF-8")); final String result = new String(bytes, "UTF-8"); Assert.assertEquals("", result); }
@Test public void testDecrypt_1() throws Exception { final NoOpEncrypter fixture = new NoOpEncrypter(); final String encryptedSecret = "secretin"; final byte[] bytes = fixture.decrypt(encryptedSecret.getBytes("UTF-8")); final String result = new String(bytes, "UTF-8"); Assert.assertEquals("secretin", result); }
@Test public void testDecrypt_2() throws Exception { final NoOpEncrypter fixture = new NoOpEncrypter(); final byte[] result = fixture.decrypt(null); Assert.assertEquals(null, result); }
@Test public void testDecrypt_2() throws Exception { final NoOpEncrypter fixture = new NoOpEncrypter(); final byte[] result = fixture.decrypt(null); Assert.assertEquals(null, result); }