public void ReturnedInternalSeverError(short rep) { //Arrange var request = new RequestToTest(rep); var repeat = new Repeat(request, 5); //Act var response = repeat.GetResponse(); //Assert Assert.False(response is IStatusOkResponse); Assert.True(rep > repeat.Repeated); }
public void ReturnedOk(short rep) { //Arrange var request = new RequestToTest(rep); var repeat = new Repeat(request, 5); //Act var response = repeat.GetResponse(); //Assert Assert.True(response is IStatusOkResponse); Assert.Equal(rep, repeat.Repeated); }