Exemple #1
0
        public async Task Locations()
        {
            var service            = new UntappdService(email, token);
            var locationCollection = await service.GetLocationCollection();

            Assert.IsNotNull(locationCollection);
            Assert.IsNotNull(locationCollection.Locations);
        }
Exemple #2
0
        public async Task MalformedAuthStrings()
        {
            var service = new UntappdService("*****@*****.**", "incorrect");

            _ = await service.GetLocationCollection();
        }
Exemple #3
0
 public void NoAuthStrings()
 {
     _ = new UntappdService(null, null);
 }
Exemple #4
0
        public async Task MalformedAuthBytes()
        {
            var service = new UntappdService(new byte[] { 1, 2, 3 });

            _ = await service.GetLocationCollection();
        }
Exemple #5
0
 public void NoAuthBytes()
 {
     _ = new UntappdService(null);
 }