Skip to content

Commit

Permalink
Define public API.
Browse files Browse the repository at this point in the history
  • Loading branch information
TaffarelJr authored and James Harper committed Nov 22, 2018
1 parent 4a7337c commit e645923
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
using System;
using JetBrains.Annotations;

namespace Shouldly
{
[ShouldlyMethods]
public static class ObjectGraphTestExtensions
{
public static void ShouldBeEquivalentTo(this object actual, object expected)
{
ShouldBeEquivalentTo(actual, expected, () => null);
}

public static void ShouldBeEquivalentTo(this object actual, object expected, string customMessage)
{
ShouldBeEquivalentTo(actual, expected, () => customMessage);
}

public static void ShouldBeEquivalentTo(this object actual, object expected, [InstantHandle] Func<string> customMessage)
{
}
}
}

0 comments on commit e645923

Please sign in to comment.