@Test
public void shouldAddUserName() throws JSONException {

    RapidFtrApplication.getApplicationInstance().setCurrentUser(new User("user_name"));
    BaseModel originalModel = new BaseModel("{\"change1\":\"Foo Bar\",\"deletion\":\"old stuff\",\"change2\":\"Foo Bar\",\"unique_identifier\":\"1\"}");
    BaseModel changedModel = new BaseModel("{\"change1\":\"Foo Bar1\",\"addition\":\"new stuff\",\"change2\":\"Foo Bar2\",\"unique_identifier\":\"1\"}");
    History history = History.buildHistoryBetween(rapidFtrApplication, originalModel, changedModel);
    assertEquals("user_name", history.getString(History.USER_NAME));
}