public void UninterestingNameReturnsNoSpecimen( ISpecimenContext context, ModKeyMultipleParameterBuilder sut) { foreach (var method in typeof(NotInterestingQueries).Methods()) { var param = method.GetParameters().First(); var ret = sut.Create(param, context); ret.Should().BeOfType <NoSpecimen>(); } }
public void ExistsQueriesSplitService( ISpecimenContext context, ModKeyMultipleParameterBuilder sut) { foreach (var method in typeof(ExistingQuery).Methods()) { var param = method.GetParameters().First(); var ret = sut.Create(param, context); sut.SplitEnumerableIntoSubtypes .Received(1) .Split <ModKey>(context, param.ParameterType); } }