Github user martin-g commented on a diff in the pull request:
https://github.com/apache/wicket/pull/287#discussion_r214904493
--- Diff:
wicket-core/src/main/java/org/apache/wicket/util/tester/WicketTester.java ---
@@ -980,7 +976,7 @@ public void executeListener(final Class<?> testClass,
final Component component,
public void executeBehavior(final Class<?> testClass, final
AbstractAjaxBehavior behavior,
final String filename) throws Exception
{
- assertNotNull(behavior);
+ assert(behavior != null);
--- End diff --
This looks wrong.
---