Added missing tests

This commit is contained in:
Kristian Hellang
2013-11-24 23:44:30 +01:00
parent b9b60ed77c
commit df0963c848
3 changed files with 76 additions and 9 deletions
+11 -2
View File
@@ -2,7 +2,16 @@
{
public class NewReference
{
public string Ref { get; set; }
public string Sha { get; set; }
public NewReference(string @ref, string sha)
{
Ensure.ArgumentNotNullOrEmptyString(@ref, "ref");
Ensure.ArgumentNotNullOrEmptyString(sha, "sha");
Ref = @ref;
Sha = sha;
}
public string Ref { get; private set; }
public string Sha { get; private set; }
}
}