@Test
@TestForIssue(jiraKey = "OGM-612")
public void canUseObjectIdAssignedUponInsertWithNestedEmbeddable() {
OgmSession session = openSession();
Transaction tx = session.beginTransaction();
// given
EntityWithObjectIdAndEmbeddable entity = new EntityWithObjectIdAndEmbeddable();
AnotherEmbeddable anotherEmbeddable = new AnotherEmbeddable( "Another nice string ... nested" );
AnEmbeddable anEmbeddable = new AnEmbeddable( "a very nice string", anotherEmbeddable );