package com.renren.api.client.services;
import junit.framework.Assert;
import org.junit.Test;
import com.renren.api.client.AbstractServiceTest;
import com.renren.api.client.param.impl.AccessToken;
/**
* @author 李勇(yong.li@opi-corp.com) 2011-2-21
*/
public class NotificationsServiceTest extends AbstractServiceTest {
@Test
public void testSend() {
String toIds = "432801017";
String notification = "hello,<xn:name uid=\"258707480\" linked=\"true\"/>";
int i = this.getRenrenApiClient().getNotificationsService().send(toIds, notification,new AccessToken(this.getAccessToken()));
Assert.assertEquals(1, i);
}
}