@Override
    public boolean authenticate(final ShardingSphereUser user, final Object[] authInfo) {
        String password = (String) authInfo[0];
        return Strings.isNullOrEmpty(user.getPassword()) || user.getPassword().equals(password);
    }
@Test
    void assertAuthenticateFailed() {
        assertFalse(new PostgreSQLPasswordAuthenticator().authenticate(new ShardingSphereUser("root", "password", ""), new Object[]{"wrong", null}));
    }