@Override
    public byte[] createIV() throws NoSuchAlgorithmException {
        KeyGenerator keygen = KeyGenerator.getInstance("AES");
        keygen.init(128);
        return keygen.generateKey().getEncoded();
    }
@Test
    public void shouldGenerateA16ByteIV() throws NoSuchAlgorithmException {
        ProductionIVProvider ivProvider = new ProductionIVProvider();

        byte[] iv = ivProvider.createIV();
        assertThat(iv).hasSize(16);
    }