protected static String[] getOAuthPrefix(final Host bookmark) {
        if(StringUtils.isNotBlank(bookmark.getCredentials().getUsername())) {
            return new String[]{
                    String.format("%s (%s)", bookmark.getProtocol().getOAuthClientId(), bookmark.getCredentials().getUsername()),
                    String.format("%s (%s)", bookmark.getProtocol().getDescription(), bookmark.getCredentials().getUsername())
            };
        }
        return new String[]{
                bookmark.getProtocol().getOAuthClientId(),
                bookmark.getProtocol().getDescription()
        };
    }
@Test
    public void testGetOAuthPrefixWithUsername() {
        final String[] prefix = DefaultHostPasswordStore.getOAuthPrefix(new Host(new TestProtocol(Scheme.https) {
            @Override
            public String getOAuthClientId() {
                return "clientid";
            }

            @Override
            public String getOAuthClientSecret() {
                return "clientsecret";
            }

            @Override
            public String getOAuthRedirectUrl() {
                return "x-cyberduck-action:oauth";
            }
        }).withCredentials(new Credentials("user")));
        assertEquals("clientid (user)", prefix[0]);
        assertEquals("Test (user)", prefix[1]);
    }