use of com.fanap.podchat.chat.pin.pin_message.model.RequestPinMessage in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method unpinMessage.
private void unpinMessage() {
RequestPinMessage requestPinMessage = new RequestPinMessage.Builder().setMessageId(TEST_THREAD_ID).build();
presenter.unPinMessage(requestPinMessage);
}
use of com.fanap.podchat.chat.pin.pin_message.model.RequestPinMessage in project pod-chat-android-sdk by FanapSoft.
the class ChatTestSandbox method pinMessage.
@Test
@MediumTest
public void pinMessage() {
RequestPinMessage requestPinMessage = new RequestPinMessage.Builder().setMessageId(76306).setNotifyAll(true).build();
presenter.pinMessage(requestPinMessage);
sleep(1000);
Mockito.verify(view, Mockito.times(1)).onPinMessage(Mockito.any());
}
use of com.fanap.podchat.chat.pin.pin_message.model.RequestPinMessage in project pod-chat-android-sdk by FanapSoft.
the class ChatTest method pinMessage.
@Test
@MediumTest
public void pinMessage() {
RequestPinMessage requestPinMessage = new RequestPinMessage.Builder().setMessageId(76306).setNotifyAll(true).build();
presenter.pinMessage(requestPinMessage);
sleep(1000);
Mockito.verify(view, Mockito.times(1)).onPinMessage(Mockito.any());
}
use of com.fanap.podchat.chat.pin.pin_message.model.RequestPinMessage in project pod-chat-android-sdk by FanapSoft.
the class ChatTest method unpinMessage.
@Test
@MediumTest
public void unpinMessage() {
sleep(25000);
RequestPinMessage requestPinMessage = new RequestPinMessage.Builder().setMessageId(76306).build();
presenter.unPinMessage(requestPinMessage);
sleep(1000);
Mockito.verify(view, Mockito.times(1)).onUnPinMessage(Mockito.any());
}
use of com.fanap.podchat.chat.pin.pin_message.model.RequestPinMessage in project pod-chat-android-sdk by FanapSoft.
the class ChatTestSandbox method unpinMessage.
@Test
@MediumTest
public void unpinMessage() {
sleep(25000);
RequestPinMessage requestPinMessage = new RequestPinMessage.Builder().setMessageId(76306).build();
presenter.unPinMessage(requestPinMessage);
sleep(1000);
Mockito.verify(view, Mockito.times(1)).onUnPinMessage(Mockito.any());
}
Aggregations