Entities created by a factory should not have values flagged as modified
Content
Entities created by a factory should not have values flagged as modified.
This merge requests triggers Value.apply after an entity is created by a factory.
This is necessary as right now the values send to the ODS server are filtered by the modified flag see CorbaUpdateStatement.
Adds bunch of tests for the factories when entities are created.
Futhermore this merge requests does small clean up
- Removes uncessary value boxing (e.g.
Integer.valueOfwhere anintis excpected anyway) - Removes JUnit4 from
base
Signed-off-by: Simon Skoczylas simon.skoczylas@karakun.com
Edited by Simon Skoczylas