@Test
public void shouldExtractTokenFromResponseWithExpiresParam() {
String response = "access_token=166942940015970|2.2ltzWXYNDjCtg5ZDVVJJeg__.3600" +
".1295816400-548517159|RsXNdKrpxg8L6QNLWcs2TVTmcaE&expires=5108";
Token extracted = extractor.extract(response);
assertEquals("166942940015970|2.2ltzWXYNDjCtg5ZDVVJJeg__.3600.1295816400-548517159|RsXNdKrpxg8L6QNLWcs2TVTmcaE",
extracted.getToken());
assertEquals("", extracted.getSecret());
}