@Test public void test_setEnterpriseContextViews_IsSupportedForOlderWorkspaces() { ViewSet views = new Workspace("", "").getViews(); SystemLandscapeView systemLandscapeView = views.createSystemLandscapeView("key", "Description"); views.setEnterpriseContextViews(Collections.singleton(systemLandscapeView)); assertEquals(1, views.getSystemLandscapeViews().size()); assertSame(systemLandscapeView, views.getSystemLandscapeViews().iterator().next()); }