Tests: Add tests for Page.
This commit is contained in:
@@ -55,7 +55,14 @@ public class FakeWebContext : IWebContext
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool ResponseHasStarted => false;
|
||||
private bool _responseHasStarted;
|
||||
|
||||
public void FakeSetResponseHasStarted(bool responseHasStarted)
|
||||
{
|
||||
_responseHasStarted = responseHasStarted;
|
||||
}
|
||||
|
||||
public bool ResponseHasStarted => _responseHasStarted;
|
||||
|
||||
public int ResponseStatusCode { get; set; } = 200;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user