blob: c97250bf9cb7534a2380246b30ed33d7e78a9456 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using MbUnit.Framework;
using PlayingWithActiveReports.Core.Domain;
namespace PlayingWithActiveReports.Test.Domain {
[TestFixture]
public class QuestionTest {
[Test]
public void Should_Be_Able_To_Change_Answer( ) {
IQuestion question = new Question( "How old Are You?" );
question.ChangeAnswerTo( "23" );
Assert.AreEqual( new Answer( "23" ), question.CurrentAnswer );
}
}
}
|