mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-23 15:45:28 +00:00
Rather than accept an arbitrary dictionary, let's make it accept the values we know. We still need to tackle the arbitrary headers problem soon though.
40 lines
785 B
C#
40 lines
785 B
C#
using System;
|
|
using NSubstitute;
|
|
using Octokit.Http;
|
|
|
|
namespace Octokit.Tests
|
|
{
|
|
internal class Args
|
|
{
|
|
public static AuthorizationUpdate AuthorizationUpdate
|
|
{
|
|
get { return Arg.Any<AuthorizationUpdate>(); }
|
|
}
|
|
|
|
public static Uri Uri
|
|
{
|
|
get { return Arg.Any<Uri>(); }
|
|
}
|
|
|
|
public static UserUpdate UserUpdate
|
|
{
|
|
get { return Arg.Any<UserUpdate>(); }
|
|
}
|
|
|
|
public static IRequest Request
|
|
{
|
|
get { return Arg.Any<IRequest>(); }
|
|
}
|
|
|
|
public static object Object
|
|
{
|
|
get { return Arg.Any<object>(); }
|
|
}
|
|
|
|
public static string String
|
|
{
|
|
get { return Arg.Any<string>(); }
|
|
}
|
|
}
|
|
}
|