profile.addField("foo")
val fieldId = profile.getFieldByName("foo")!!.id
addRequestParameter("field", fieldId)
profile.addField("foo")
val fieldId = profile.getFieldByName("foo")!!.id
addRequestParameter("field", fieldId)
assertThat(profile.getFieldByName("foo"), nullValue())
verify(currentSone).profile = profile
verify(core).touchConfiguration()
}
assertThat(profile.getFieldByName("foo"), nullValue())
verify(currentSone).profile = profile
verify(core).touchConfiguration()
}