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

ASF GitHub Bot commented on WICKET-6435:
----------------------------------------

GitHub user Jezza opened a pull request:

    https://github.com/apache/wicket/pull/298

    WICKET-6435: Add assertAbsent to BaseWicketTester.

    Closes WICKET-6435

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Jezza/wicket WICKET-6435

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/wicket/pull/298.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #298
    
----
commit 57e01144e07d2c6135f375fc54c46319c45d0431
Author: Jezza <jezzadabomb@...>
Date:   2018-10-16T21:56:22Z

    WICKET-6435: Add assertAbsent to BaseWicketTester.

----


> 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
>            Priority: Major
>
> 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)

Reply via email to