@Ignore("Rename Subclass feature is currently broken")
@Test
public void renameSubclass() throws IOException, ExecutionException, InterruptedException, AmazonClientException {
EntityManagerSimpleJPA em = (EntityManagerSimpleJPA) factory.createEntityManager();
AmazonSimpleDB db = em.getSimpleDb();
String domainName = em.getFactory().getDomainName(MyInheritanceObject1.class);
em.getFactory().createIfNotExistDomain(domainName);
String id = "abc123";
List<ReplaceableAttribute> atts = new ArrayList<ReplaceableAttribute>();
atts.add(new ReplaceableAttribute("id", id, true));
atts.add(new ReplaceableAttribute(EntityManagerFactoryImpl.DTYPE, "MyInheritanceObjectOld", true));
atts.add(new ReplaceableAttribute("fieldInSubClass2", "Bullwinkle", true));
db.putAttributes(new PutAttributesRequest()
.withDomainName(domainName)
.withItemName(id)
.withAttributes(atts));
MyInheritanceObject1 object;