source: class SHATest {
  
      private static final String SHA_foo;
      private static final String SHA_1_foo;
      private static final String SHA_256_foo;
      private static final String SHA_bar;
      private static final String SHA_1_bar;
      private static final String SHA_256_bar;
  
      @Test
      public void testEncryptSHAStringString() throws NoSuchAlgorithmException {
  
target:         Assert.assertEquals("", SHA.encryptSHA(null, null));
          Assert.assertEquals(SHA_foo, SHA.encryptSHA("foo", "SHA"));
          Assert.assertEquals(SHA_1_foo, SHA.encryptSHA("foo", "SHA-1"));
          Assert.assertEquals(SHA_256_foo, SHA.encryptSHA("foo", "SHA-256"));
          Assert.assertEquals(SHA_bar, SHA.encryptSHA("bar", "SHA"));
          Assert.assertEquals(SHA_1_bar, SHA.encryptSHA("bar", "SHA-1"));
          Assert.assertEquals(SHA_256_bar, SHA.encryptSHA("bar", "SHA-256"));
      }
  
  }