assertEquals(labels.get(0), createLabel(LabelName.FEATURE, "some.feature"));
}
@Test
public void testUpdateTestSuiteStartedEvent() throws Exception {
TestSuiteStartedEvent event = new TestSuiteStartedEvent("some.uid", "some.name");
annotationManager.update(event);
assertThat(event.getTitle(), equalTo("some.title"));
Description description = annotationManager.getDescription();
assertThat(description.getValue(), is("some.description"));
assertThat(description.getType(), is(DescriptionType.TEXT));
assertThat(event.getLabels(), not(hasItems(
createSeverityLabel(SeverityLevel.BLOCKER)
)));
assertThat(event.getLabels(), hasItems(
createStoryLabel("some.story"),
createFeatureLabel("some.feature"),
createIssueLabel("some.simple.issue"),
createIssueLabel("some.nested.issue.1"),
createIssueLabel("some.nested.issue.2")