24 lines
561 B
C#
24 lines
561 B
C#
using System;
|
|
using NUnit.Framework;
|
|
using Untappd.Net.Authentication;
|
|
|
|
namespace Untappd.Net.UnitTests.Authentication
|
|
{
|
|
[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);
|
|
}
|
|
}
|
|
} |