use of org.mamute.dao.WatcherDAO in project mamute by caelum.
the class WatcherDAOTest method set_up.
@Before
public void set_up() {
User leo = user("Leonardo", "leo@leo.com");
session.save(leo);
Tag java = tag("java");
session.save(java);
question = question(leo, java);
session.save(question);
watchers = new WatcherDAO(session, new InvisibleForUsersRule(new LoggedUser(leo, null)));
}
Aggregations