}
@Test
public void testGetPageConfigurationIsNullForNonExistentPage() {
UIConfiguration configuration = new UIConfiguration();
PageConfiguration pageConfiguration = new PageConfiguration( "foo", TestPage.class ).setTopLevel( true );
configuration.addPageConfiguration( pageConfiguration );
UIDescriptor uiDescriptor = configuration.getAdapter( UIDescriptor.class );
Controller controller = new Controller( new RemoteUI( shell ), uiDescriptor );
UIImpl ui = new UIImpl( shell.getDisplay(), controller, configuration );
controller.setUI( ui );
controller.createRootPages( ui );
controller.createGlobalActions( ui );
PageConfiguration actualConfiguration = controller.getPageConfiguration( mock( Page.class ) );
assertNull( actualConfiguration );
}