public void setUp() throws Exception {
db.executeUpdateSql("truncate table active_rule_changes");
db.executeUpdateSql("truncate table active_rule_param_changes");
DbClient dbClient = new DbClient(db.database(), db.myBatis());
System2 system = mock(System2.class);
when(system.now()).thenReturn(UtcDateUtils.parseDateTime("2014-07-03T12:00:00+0000").getTime());
migration = new FeedQProfileDatesMigration(dbClient, system);
}
@Test
public void feed_created_at_and_updated_at() throws Exception {