use of io.realm.entities.DefaultValueFromOtherConstructor in project realm-java by realm.
the class RealmTests method createObject_defaultValueFromOtherConstructor.
@Test
public void createObject_defaultValueFromOtherConstructor() {
realm.beginTransaction();
DefaultValueFromOtherConstructor obj = realm.createObject(DefaultValueFromOtherConstructor.class);
realm.commitTransaction();
assertEquals(42, obj.getFieldLong());
}
Aggregations