public void GreedyCreatesParameterWithGreedyConstructor([Greedy] MultiUnorderedConstructorType p) { Assert.False(string.IsNullOrEmpty(p.Text)); Assert.NotEqual(0, p.Number); }
public void BothFrozenAndGreedyAttributesCanBeAppliedToSameParameter([Frozen][Greedy] MultiUnorderedConstructorType p1, MultiUnorderedConstructorType p2) { Assert.NotNull(p1); Assert.False(string.IsNullOrEmpty(p2.Text)); Assert.NotEqual(0, p2.Number); }
public void ModestCreatesParameterWithModestConstructor([Modest] MultiUnorderedConstructorType p) { Assert.True(string.IsNullOrEmpty(p.Text)); Assert.Equal(0, p.Number); }