@Test public void testModelType() { String type = discussionActivityGenerator.modelType(); assertEquals(type, "discussion"); }
@Override public String modelType() { return new Discussion().getType(); }
DiscussionActivityGenerator implements ActivityGenerator { @Override public String modelType() { return new Discussion().getType(); } }
DiscussionActivityGenerator implements ActivityGenerator { @Override public String modelType() { return new Discussion().getType(); }  }
DiscussionActivityGenerator implements ActivityGenerator { @Override public String modelType() { return new Discussion().getType(); }  @Override String modelType(); @Override Activity generateCreateActivity(BaseProjectItem item); @Override Activity generateUpdateActivity(BaseProjectItem item, BaseProjectItem modifiedItem); @Override BaseProjectItem enrichModel(BaseProjectItem identifiable); @Override String modelService(); }
DiscussionActivityGenerator implements ActivityGenerator { @Override public String modelType() { return new Discussion().getType(); }  @Override String modelType(); @Override Activity generateCreateActivity(BaseProjectItem item); @Override Activity generateUpdateActivity(BaseProjectItem item, BaseProjectItem modifiedItem); @Override BaseProjectItem enrichModel(BaseProjectItem identifiable); @Override String modelService(); static final String CREATE_SUBJECT; static final String DISCARD_SUBJECT; static final String RECOVER_SUBJECT; static final String MOVE_SUBJECT; static final String UPDATE_SUBJECT; }