}
@Test
public void ValidatesCreateObjectCommand() throws Exception {
final CreateObjectCommand command = objectStore.createCreateObjectCommand(adapter);
command.execute(transaction);
assertFalse(objectStore.hasInstances(spec));
}
@Test
public void validatesDestroyObjectCommand() throws Exception {