testDataCleanUp.clean();
}
@Test
public void testTaskAddFollowers() {
AsanaTask asanaTask = asanaClient.createTask(new AsanaTaskCreate(TestConfigurationSource.getWorkspaceId(), "task"));
testDataCleanUp.addTask(asanaTask.getId());
AsanaUser asanaUser = asanaClient.getMe();
asanaClient.taskAddFollower(asanaTask.getId(), asanaUser.getId());
asanaTask = asanaClient.getTask(asanaTask.getId());
List<AsanaIdentity> followers = asanaTask.getFollowers();
Assert.assertFalse(followers.isEmpty());
AsanaIdentity asanaIdentity = followers.get(0);
Assert.assertEquals(asanaIdentity.getId(), asanaUser.getId());
}