@Test
public void testCreateUniqueDefinition() throws NoSuchFieldException {

    String expectedSql = "UNIQUE (`dateField`, `doubleField`) ON CONFLICT FAIL, " +
            "UNIQUE (`booleanField`, `intField`) ON CONFLICT ROLLBACK";
    TableInfo testModelTableInfo = ReActiveAndroid.getTableInfo(FullTestModel.class);
    List<String> createUniqueDefinitions = SQLiteUtils.createUniqueDefinition(testModelTableInfo);
    assertEquals(expectedSql, TextUtils.join(", ", createUniqueDefinitions));
}