public static IEnumerable <T> CollectionShouldBeEquivalentTo <T>( params T[] expectedParameters) => It.Is <IEnumerable <T> >((Expression <Func <IEnumerable <T>, bool> >)(parameter => MoqParameter.MatchParameter <T>(parameter, expectedParameters)));
public static T ShouldBeEquivalentTo <T>(T expectedParameter) => It.Is <T>((Expression <Func <T, bool> >)(parameter => MoqParameter.MatchParameter <T>(parameter, expectedParameter)));
public static T ShouldBeEquivalentTo <T>( T expectedParameter, Func <EquivalencyAssertionOptions <T>, EquivalencyAssertionOptions <T> > config) => It.Is <T>((Expression <Func <T, bool> >)(parameter => MoqParameter.MatchParameter <T>(parameter, expectedParameter, config)));