	@Test
	public void testClone() throws Exception
	{

		EmbeddedDescriptor embeddedDescriptor = new EmbeddedDescriptor(Embeddor.class,
				new TynamoPropertyDescriptorImpl(Embeddor.class, "embeddee", Embeddee.class),
				new TynamoClassDescriptorImpl(Embeddee.class));

		embeddedDescriptor.getEmbeddedClassDescriptor().getPropertyDescriptors().add(new TynamoPropertyDescriptorImpl(Embeddee.class, "title", String.class));
		EmbeddedDescriptor cloned = (EmbeddedDescriptor) embeddedDescriptor.clone();
		assertEquals(Embeddor.class, cloned.getBeanType());
		assertEquals(Embeddee.class, cloned.getPropertyType());
		assertEquals(1, cloned.getEmbeddedClassDescriptor().getPropertyDescriptors().size());
	}