Files
Untappd.Net/src/Untappd.Net.UnitTests/Client/TestUnAuthenticatedUntappdCredentials.cs
2015-04-20 18:12:32 -04:00

28 lines
737 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Untappd.Net.Client;
namespace Untappd.Net.UnitTests.Client
{
[TestFixture]
public class TestUnAuthenticatedUntappdCredentials
{
[Test]
[ExpectedException(typeof(ArgumentNullException))]
public void ExpectClientIdException()
{
var t = new UnAuthenticatedUntappdCredentials(string.Empty, "t");
}
[Test]
[ExpectedException(typeof(ArgumentNullException))]
public void ExpectClientSecretException()
{
var t = new UnAuthenticatedUntappdCredentials("t", string.Empty);
}
}
}