Esempio n. 1
0
 protected override void When()
 {
     try
     {
         _sut.AddForeignTeamGoal(_goal);
     }
     catch (GameNotInProgressException exception)
     {
         _exception = exception;
     }
 }
Esempio n. 2
0
 protected override void When()
 {
     try
     {
         _sut.End(_endedOn);
     }
     catch (GameNotInProgressException exception)
     {
         _exception = exception;
     }
 }