public void Returns_char0_when_passed_multiple_characters()
 {
     var retriever = new CharValueRetriever();
     retriever.GetValue("ab").Should().Be('\0');
     retriever.GetValue("abc").Should().Be('\0');
     retriever.GetValue("abcdefg.").Should().Be('\0');
 }
 public void Returns_a_character_when_passed_a_character_value()
 {
     var retriever = new CharValueRetriever();
     retriever.GetValue("a").Should().Be('a');
     retriever.GetValue("A").Should().Be('A');
     retriever.GetValue("1").Should().Be('1');
     retriever.GetValue("&").Should().Be('&');
     retriever.GetValue(" ").Should().Be(' ');
 }
 public void Returns_char0_when_passed_null()
 {
     var retriever = new CharValueRetriever();
     retriever.GetValue(null).Should().Be('\0');
 }
 public void Returns_char0_when_passed_empty()
 {
     var retriever = new CharValueRetriever();
     retriever.GetValue("").ShouldEqual('\0');
 }