Examples of SocialNetworkBean


Examples of org.encuestame.utils.social.SocialNetworkBean

    /**
     * Test {@link SocialNetworkBean}.
     */
    @Test
    public void testSocialNetworkBean(){
        final SocialNetworkBean socialNetwork = new SocialNetworkBean();
        socialNetwork.setApiId("dada");
        socialNetwork.setConsumerKey("consumerKey");
        socialNetwork.setConsumerSecret("consumerSecret");
        socialNetwork.setSocialNetworkName("Twitter");
        socialNetwork.setSocialProvider(SocialProvider.TWITTER);
        socialNetwork.setUrlAccessToken("urlAccessToken");
        socialNetwork.setUrlRequestToken("urlRequestToken");
        assertNotNull(socialNetwork);
        assertNotNull(socialNetwork.getApiId());
        assertNotNull(socialNetwork.getConsumerKey());
        assertNotNull(socialNetwork.getConsumerSecret());
        assertNotNull(socialNetwork.getSocialNetworkName());
        assertNotNull(socialNetwork.getSocialProvider());
        assertNotNull(socialNetwork.getUrlAccessToken());
        assertNotNull(socialNetwork.getUrlRequestToken());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.