### Question:
ApplicationModel { public String getApplicationLayoutName() throws PageNotFoundException { return pageApi.getPage(application.getLayoutId()).getName(); } ApplicationModel(
            final ApplicationAPI applicationApi,
            final PageAPI pageApi,
            final ProfileAPI profileApi,
            final Application application,
            final MenuFactory factory); long getId(); String getApplicationLayoutName(); String getApplicationThemeName(); Long getApplicationThemeId(); String getApplicationHomePage(); boolean hasPage(final String pageToken); boolean authorize(final APISession session); boolean hasProfileMapped(); Page getCustomPage(final String pageToken); List<Menu> getMenuList();  }### Answer:
@Test public void should_getApplicationLayoutName_return_valide_name() throws Exception { given(page.getName()).willReturn("layoutPage"); given(pageApi.getPage(1L)).willReturn(page); String appLayoutName = model.getApplicationLayoutName(); assertThat(appLayoutName).isEqualTo("layoutPage"); }