private static final String CLIENT_SECRET = "888e92659dae96040216a257576b092a";
private static final String SIGNED_REQUEST = "T4PCp840PHnhgQwMgCSZODpDGqhLC4mFGaNG8oHW7WU.eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsImlzc3VlZF9hdCI6MTMzNTg5NDc5NiwidXNlciI6eyJjb3VudHJ5IjoidXMiLCJsb2NhbGUiOiJlbl9VUyJ9LCJ1c2VyX2lkIjoiNzM4MTQwNTc5In0";
@Test
public void disconnect() throws Exception {
FacebookConnectionFactory connectionFactory = new FacebookConnectionFactory("clientId", CLIENT_SECRET);
Connection<Facebook> connection = connectionFactory.createConnection(new ConnectionData("facebook", "738140579", "", "", "", "", "", "", null));
StubUsersConnectionRepository usersConnectionRepository = new StubUsersConnectionRepository();
ConnectionRepository connectionRepository = usersConnectionRepository.createConnectionRepository("habuma");
connectionRepository.addConnection(connection);
assertEquals(1, connectionRepository.findAllConnections().size());
DisconnectController controller = new DisconnectController(usersConnectionRepository, CLIENT_SECRET);