The `expectedExceptions` should be `SQLFeatureNotSupportedException.class`.