}
{
List<Tag> tags = new ArrayList<Tag>();
tags.add(new Tag(MOCK_CONTENT_ID_1, MOCK_CONTRIB_ID, "label"));
Mockito.reset(tested.customTagPersistenceService);
<BUG>Mockito.when(
tested.customTagPersistenceService.getTagsByContent(Mockito.eq(MOCK_CONTENT_ID_1)))

.thenReturn(tags);</BUG>
@SuppressWarnings("unchecked")

}
{
Mockito.reset(tested.customTagPersistenceService);
Mockito.when(tested.customTagPersistenceService.getTagsByContent(Mockito.eq(MOCK_CONTENT_ID_1))).thenReturn(
new ArrayList<Tag>());
TestUtils.assertResponseStatus(tested.getTagsByContent(MOCK_CONTENT_ID_1), Status.NOT_FOUND);
Mockito.verify(tested.customTagPersistenceService).getTagsByContent(Mockito.eq(MOCK_CONTENT_ID_1));
}
{
List<Tag> tags = new ArrayList<Tag>();
tags.add(new Tag(MOCK_CONTENT_ID_1, MOCK_CONTRIB_ID, "label"));
Mockito.reset(tested.customTagPersistenceService);
Mockito.when(tested.customTagPersistenceService.getTagsByContent(Mockito.eq(MOCK_CONTENT_ID_1))).thenReturn(tags);
@SuppressWarnings("unchecked")
