@Transactional
public void testSaveWhenFailOnDuplicateSetToFalse() {
// Account1
// @Indexed(unique = true, failOnDuplicate = false)
// private String accountNumber;
Account1 acc1 = new Account1("111-222-333", "Mr George - Current Account 1");
Account1 acc2 = new Account1("111-222-333", "Mr George - Current Account 2");
Account1 savedAcc1 = account1Repository.save(acc1);
Account1 savedAcc2 = account1Repository.save(acc2);
assertEquals("expecting the saving of the same entity result in a merge of nodes", ((NodeBacked)savedAcc1).getNodeId(), ((NodeBacked)savedAcc2).getNodeId());
assertEquals("Mr George - Current Account 2", savedAcc2.getName() );
Account1 loadedAcc1 = account1Repository.findBySchemaPropertyValue("accountNumber", "111-222-333");
assertEquals("Mr George - Current Account 2", loadedAcc1.getName() );
}