@Test public void testDecrypt() throws Exception {

	// Arrange:
	final KeyGenerator keyGenerator = KeyGenerator.getInstance("AES");
	keyGenerator.init(128);
	final Key key = keyGenerator.generateKey();
	final Encrypto encrypto = new CipherEncrypto.Builder()
			.cipher(new CipherBuilder()
					.transformation(CipherCryptography.createTransformation(
							CipherCryptography.Algorithm.AES,
							CipherCryptography.Mode.ECB,
							CipherCryptography.Padding.PKCS7
					))
					.opMode(Cipher.ENCRYPT_MODE)
					.key(key)
					.build()
			)
			.build();
	final Decrypto decrypto = new CipherDecrypto.Builder()
			.cipher(new CipherBuilder()
					.transformation(CipherCryptography.createTransformation(
							CipherCryptography.Algorithm.AES,
							CipherCryptography.Mode.ECB,
							CipherCryptography.Padding.PKCS7
					))
					.opMode(Cipher.DECRYPT_MODE)
					.key(key)
					.build()
			)
			.build();
	// Act:
	final byte[] encryptedData = encrypto.encrypt("Android".getBytes(Cryptography.CHARSET_NAME));
	// Assert:
	assertThat(decrypto.decrypt(encryptedData), is("Android".getBytes(Cryptography.CHARSET_NAME)));
}