@Test(expected = UnsupportedOperationException.class)
public void whenVersionIsNotSupportedShouldThrowException() throws IOException {

    KeePassHeader header = new KeePassHeader(new RandomGenerator());
    
    // unsupported format --> e.g. v5
    byte[] rawHeader = ByteUtils.hexStringToByteArray("03D9A29A67FB4BB501000500");
    
    header.checkVersionSupport(rawHeader);
}