Exemplo n.º 1
0
 public void GetListRepostiory_ApiNotInitialized_ThrowsInvalidOperationException()
 {
     Assert.Throws <InvalidOperationException>(() => Rtm.GetListRepository(new AuthenticationToken()));
 }
Exemplo n.º 2
0
 public void GetListRepository_NullToken_ThrowsArgumentNullException()
 {
     Rtm.Init("test", "test");
     Assert.Throws <ArgumentNullException>(() => Rtm.GetListRepository(null));
 }