Package org.apache.isis.viewer.wicket.ui.pages

Examples of org.apache.isis.viewer.wicket.ui.pages.PageClassList


    }

    @Test(expected = IllegalStateException.class)
    public void shouldFailIfNoPagesRegistered() {
        // no side effects, ie doesn't register
        final PageClassList mockPageClassList = context.mock(PageClassList.class);
        context.checking(new Expectations() {
            {
                mockPageClassList.registerPages(with(any(PageClassRegistrySpi.class)));
            }
        });
        new PageClassRegistryDefault(mockPageClassList);
    }
View Full Code Here


    }

    @Test(expected = IllegalStateException.class)
    public void shouldFailIfNoPagesRegistered() {
        // no side effects, ie doesn't register
        final PageClassList mockPageClassList = context.mock(PageClassList.class);
        context.checking(new Expectations() {
            {
                mockPageClassList.registerPages(with(any(PageRegistrySpi.class)));
            }
        });
        new PageClassRegistryDefault(mockPageClassList);
    }
View Full Code Here

    }

    @Test(expected = IllegalStateException.class)
    public void shouldFailIfNoPagesRegistered() {
        // no side effects, ie doesn't register
        final PageClassList mockPageClassList = context.mock(PageClassList.class);
        context.checking(new Expectations() {
            {
                mockPageClassList.registerPages(with(any(PageRegistrySpi.class)));
            }
        });
        new PageClassRegistryDefault(mockPageClassList);
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.wicket.ui.pages.PageClassList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.