@Test
public void whenCipherIsSetToByteArrayShouldReturnHeaderWithCipher() {

    KeePassHeader header = createHeaderAndSetValue(2, ByteUtils.hexStringToByteArray("31C1F2E6BF714350BE5805216AFC5AFF"));
    Assert.assertTrue("Cipher must be 31C1F2E6BF714350BE5805216AFC5AFF",
            Arrays.equals(ByteUtils.hexStringToByteArray("31C1F2E6BF714350BE5805216AFC5AFF"), header.getCipher()));
}