I18n msg = CommonI18n.argumentMayNotBeEmpty;
Object[] params = new Object[] {"argName"};
String resource = "The source";
String location = "The place to be";
Throwable throwable = null;
Problem problem = new Problem(status, code, msg, params, resource, location, throwable);
Reflection reflection = new Reflection(Problem.class);
List<Property> props = reflection.getAllPropertiesOn(problem);
Map<String, Property> propsByName = reflection.getAllPropertiesByNameOn(problem);
assertThat(props.size(), is(8));