public void testServerDescriptorFactory() {
EntityResolver resolver = runtime.getDataDomain().getEntityResolver();
resolver.getClassDescriptorMap().clearDescriptors();
MockClassDescriptor mockDescriptor = new MockClassDescriptor();
MockClassDescriptorFactory factory = new MockClassDescriptorFactory(
mockDescriptor);
resolver.getClassDescriptorMap().addFactory(factory);
try {
ClassDescriptor descriptor = resolver.getClassDescriptor("MtTable1");