[
https://issues.apache.org/jira/browse/WICKET-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678137#comment-16678137
]
ASF GitHub Bot commented on WICKET-6435:
----------------------------------------
Github user Jezza commented on the issue:
https://github.com/apache/wicket/pull/298
Glad I could help.
> WicketTester should provide assertExists and assertNotExists methods
> --------------------------------------------------------------------
>
> Key: WICKET-6435
> URL: https://issues.apache.org/jira/browse/WICKET-6435
> Project: Wicket
> Issue Type: Improvement
> Reporter: Kamil
> Assignee: Martin Grigorov
> Priority: Major
> Fix For: 8.2.0, 9.0.0
>
>
> BaseWicketTester has:
> {code}
> private Component assertExists(final String path)
> {code}
> which is unfortunately private and doesn't provide contrary method.
> These methods are very important if you want to properly test code which is
> using Fragments: one Fragment is being added at time (exist) while another is
> not added (notExist)
> Could you please make assertExists public and add assertNotExists method?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)