Esempio n. 1
0
 public void WhenทำการประเมนเกรดWithException()
 {
     getScoreFunc = sut.Invoking(it => it.GetGradeByScore(score));
 }
Esempio n. 2
0
 public void Input_Negative_65_Score_Then_System_Must_Throw_An_Exception()
 {
     sut.Invoking(it => it.GetGradeByScore(-65))
     .Should()
     .Throw <ArgumentException>();
 }