public void ProviderName_OfProperty_AfterMultipleActions() => subject .Act(x => x.Add("d", 4)) .Act(x => x.Add("e", 5)) .ValueOf(x => x.Count).ProviderName.Should().Be("subject{ Add(\"d\", 4); Add(\"e\", 5) }.Count");
public void ProviderName_OfFunction_AfterAct() => subject .Act(x => x.Add("d", 4)) .ResultOf(x => x.ContainsKey("d")) .ProviderName.Should().Be("subject{ Add(\"d\", 4) }.ContainsKey(\"d\") => result");
public void ProviderName_OfAction() => subject.Act(x => x.Add("d", 4)) .ProviderName.Should().Be("subject{ Add(\"d\", 4) }");
public void ProviderName_OfFunction_AfterAct() => _subject .Act(x => x.Add("d", 4)) .Invoking(x => x.ContainsKey("a")) .ProviderName.Should().Be("subject{ Add(\"d\", 4) }.ContainsKey(\"a\")");