Files
octokit.net/Octokit.Tests/Helpers/Arg.cs
Haacked c979b342b6 Upload should take explicit contenttype parameter
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.
2013-10-03 09:49:55 -07:00

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>(); }
}
}
}