public String getParameter(String parameter) {
        String value = null;
        for (String str : rawResponse.split("&")) {
            if (str.startsWith(parameter + '=')) {
                final String[] part = str.split("=");
                if (part.length > 1) {
                    value = part[1].trim();
                }
                break;
            }
        }
        return value;
    }
@Test
    public void shouldReturnUrlParam() {
        final Token actual = new OAuth1AccessToken("acccess", "secret",
                "user_id=3107154759&screen_name=someuser&empty=&=");
        assertEquals("someuser", actual.getParameter("screen_name"));
        assertEquals("3107154759", actual.getParameter("user_id"));
        assertEquals(null, actual.getParameter("empty"));
        assertEquals(null, actual.getParameter(null));
    }