public void Should_return_dictionary_with_given_key_value() { var result = HearingControlLogHelper.AddTrace("TestKey", "TestVal"); result.Should().NotBeNull(); result.Keys.Contains("TestKey").Should().BeTrue(); result["TestKey"].Should().Be("TestVal"); }
public void Should_return_dictionary_with_given_key_objects() { var testValues = new[] { "TestVal1", "TestVal2" }; var result = HearingControlLogHelper.AddTrace("TestKey", testValues); result.Should().NotBeNull(); result.Keys.Contains("TestKey").Should().BeTrue(); result["TestKey"].Should().Be("TestVal1, TestVal2"); }