Askme.Domain.AnswerTest.AnswerShouldHaveText C# (CSharp) 메소드

AnswerShouldHaveText() 개인적인 메소드

private AnswerShouldHaveText ( ) : void
리턴 void
        public void AnswerShouldHaveText()
        {
            const string answerText = "This was supposed to be a funny answer but Chandra couldn't come up with one";
            Answer answer = new Answer(new AskMeDate(), null, answerText);
            Assert.AreSame(answerText, answer.ToString());
        }