[ 
https://issues.apache.org/jira/browse/WICKET-6397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048916#comment-16048916
 ] 

Kamil commented on WICKET-6397:
-------------------------------

[~bitstorm] - maybe it's a good idea to add Martin's comment documentation 
(into testing section)?

> WicketTester should take resulting HTTP status into account
> -----------------------------------------------------------
>
>                 Key: WICKET-6397
>                 URL: https://issues.apache.org/jira/browse/WICKET-6397
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Kamil
>            Assignee: Andrea Del Bene
>            Priority: Minor
>
> WicketTester in addition to current method:
> {code}
> public void assertRenderedPage(Class<? extends Page> 
> expectedRenderedPageClass)
> {code}
> should provide two additional ones:
> {code}
> public void assertRenderedPage(Class<? extends Page> 
> expectedRenderedPageClass, int httpStatus)
> {code}
> and
> {code}
> public void assertRenderedPageStatus(int httpStatus)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to