public void beforeTest() throws Exception {
_group = GroupTestUtil.addGroup();
_actorUser = UserTestUtil.addUser("actor", _group.getGroupId());
_creatorUser = UserTestUtil.addUser("creator", _group.getGroupId());
_assetEntry = SocialActivityTestUtil.addAsset(
<BUG>_creatorUser, _group, null);
}</BUG>
@After
<BUG>public void tearDown() throws Exception {
if (_actorUser != null) {</BUG>
UserLocalServiceUtil.deleteUser(_actorUser);

public void beforeTest() throws Exception {
_group = GroupTestUtil.addGroup();
_actorUser = UserTestUtil.addUser("actor", _group.getGroupId());
_creatorUser = UserTestUtil.addUser("creator", _group.getGroupId());
_assetEntry = SocialActivityTestUtil.addAsset(
_creatorUser, _group, null);
SocialActivityHierarchyThreadLocal.clear();
}
@After
public void tearDown() throws Exception {
SocialActivityHierarchyThreadLocal.clear();
if (_actorUser != null) {
UserLocalServiceUtil.deleteUser(_actorUser);
