mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
Added Observable classes and got started on observable tests
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user