public void testCreateEmbddedClassDocument() {
final OSchema schema = database.getMetadata().getSchema();
final String SUFFIX = "TESTCLUSTER1";
OClass testClass1 = schema.createClass("testCreateEmbddedClass1");
OClass testClass2 = schema.createClass("testCreateEmbddedClass2");
testClass2.createProperty("testClass1Property", OType.EMBEDDED, testClass1);
int clusterId = database.addCluster("testCreateEmbddedClass2" + SUFFIX);
schema.getClass("testCreateEmbddedClass2").addClusterId(clusterId);