[
https://issues.apache.org/jira/browse/WICKET-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679418#comment-16679418
]
ASF subversion and git services commented on WICKET-6435:
---------------------------------------------------------
Commit 5f52a24e5e344d237858370565c082e04cb80c41 in wicket's branch
refs/heads/wicket-8.x from Martin Tzvetanov Grigorov
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=5f52a24 ]
WICKET-6435 WicketTester should provide assertExists and assertNotExists methods
Rename assertAbsent to assertNotExists.
Make assertExists and assertNotExists 'public'
(cherry picked from commit f7bb3a05059a3b7d7af022e4772f3b332ed9ab11)
> 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)