@Test
public void thatCanSetNotificationsToken() throws IOException {

    enqueueServerFile(mMockServer, GET_DEVICE);
    CallbackV2<Device> callback = givenCallbackWithSetNotificationToken(mCallbackFlag);
    ICancellable cancellable = mHalo.manager().setNotificationsToken("mytoken")
            .threadPolicy(Threading.POOL_QUEUE_POLICY)
            .execute(callback);
    assertThat(mCallbackFlag.isFlagged()).isTrue();
    assertThat(cancellable).isNotNull();
}