@Test public void
populatesLandscapeWithFeatures() throws Exception {
final File views = testFolder.newFile("views.txt");
FileUtils.copyInputStreamToFile(RecordedObservationTargetsTest.class.getResourceAsStream("testviews.txt"), views);
final RecordedObservationTargets targets = new RecordedObservationTargets(new SettingsFile(views));
final Collection<Feature> features = targets.landscapes().landscapeNamed("Landscape- 2").features();
assertThat(features, contains(new Feature("Jenkins 1", "http://jenkinsurl", new CiServerType("JENKINS")),
new Feature("Hudson 1", "http://hudsonurl", new CiServerType("HUDSON")),
new Feature("TeamCity 1", "http://teamcityurl", new CiServerType("TEAMCITY")),
new Feature("", "http://allurl", new CiServerType("JENKINS")),
new Feature("TeamCity 2", "http://tcsecure", new CiServerType("TEAMCITY"), "user", "pass")));