use of org.mamute.model.Updater in project mamute by caelum.
the class UpdaterTest method before_test.
@Before
public void before_test() throws IOException {
ServletContext ctx = mock(ServletContext.class);
EnvironmentKarma env = new EnvironmentKarma(new MamuteEnvironment(ctx));
this.updater = new Updater(env);
author = user("author", "author@gmail", nextId());
myQuestion = question.withTitle("titel").withDescription("description").withAuthor(author).build();
}
Aggregations