public void GetChoiceOfTest()
 {
     var reply = new Reply { why = "[true,false]" };
     reply.GetChoiceOf(0).Is(true);
     reply.GetChoiceOf(1).Is(false);
     reply.GetChoiceOf(2).Is(false);
 }
 public void GetChoicesTest_with_null()
 {
     var reply = new Reply { why = "null" };
     reply.GetChoices().Is();
 }
 public void GetChoicesTest_with_BadFormat()
 {
     var reply = new Reply { why = @"{""foo"":'bar'}" };
     reply.GetChoices().Is();
 }
 public void GetChoicesTest()
 {
     var reply = new Reply { why = "[true,false]" };
     reply.GetChoices().Is(true, false);
 }