Hi,

I'm using wicket 6.11.0 and try to test some panels.
The test code looks like this:

public class NewRelicHeaderTest {
    private WicketTester tester;

    @Before
    public void setUp() throws Exception {
        tester = new WicketTester(new MyApplication());
    }

    @Test
    public void testNewRelicHeaderPanel() {
        tester.startComponentInPage(new NewRelicHeader("newRelicHeader"));
    }
}

But what I get is always an exception:

MarkupNotFoundException: Failed to find markup file associated. NewRelicHeader: 
[NewRelicHeader [Component id = newRelicHeader]]

Is there something I am missing?

Regards,

Jens

-- 
20. Gilbhart 2013, 09:43
Homepage : http://www.jan0sch.de

You will engage in a profitable business activity.

Attachment: pgpgbRLoIJ7An.pgp
Description: PGP signature

Reply via email to