mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
24 lines
585 B
C#
24 lines
585 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using NSubstitute;
|
|
using Octokit.Reactive;
|
|
using Xunit;
|
|
using System.Reactive.Linq;
|
|
|
|
namespace Octokit.Tests.Reactive
|
|
{
|
|
public class ObservableUserAdministrationClientTests
|
|
{
|
|
public class ThePromoteMethod
|
|
{
|
|
[Fact]
|
|
public void EnsuresArgumentIsNotNull()
|
|
{
|
|
var client = new ObservableUserAdministrationClient();
|
|
Assert.Throws<ArgumentNullException>(() => client.Promote(null));
|
|
}
|
|
}
|
|
}
|
|
}
|