#import "ObjectTesting.h"
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSPropertyList.h>
#import <Foundation/NSInvocation.h>
#import <Foundation/NSValue.h>

#include "/dvlp/microcomserver/gnustep/devmodules/dev-libs/gdl2/EOControl/EOCheapArray.h"
#include "/dvlp/microcomserver/gnustep/devmodules/dev-libs/gdl2/EOControl/EOEditingContext.h"
#include "/dvlp/microcomserver/gnustep/devmodules/dev-libs/gdl2/EOControl/EOFault.h"
#include "/dvlp/microcomserver/gnustep/devmodules/dev-libs/gdl2/EOAccess/EODatabaseContext.h"
#include "/dvlp/microcomserver/gnustep/devmodules/dev-libs/gdl2/EOAccess/EOAccessFault.h"
#include "/dvlp/microcomserver/gnustep/devmodules/dev-libs/gdl2/EOControl/EOKeyGlobalID.h"








































int main()
{
  CREATE_AUTORELEASE_POOL(arp);




  EOAccessArrayFaultHandler *handler = nil;
  id k=[NSNumber numberWithInt:2];
  
  id obj = [EOCheapCopyMutableArray array];
  handler = [EOAccessArrayFaultHandler
	      accessArrayFaultHandlerWithSourceGlobalID:
		[EOKeyGlobalID globalIDWithEntityName:@"SiteLabel"
			       keys:&k
			       keyCount:1
			       zone:NULL]
	      relationshipName: @"labels"
	      databaseContext: [EODatabaseContext new]
	      editingContext: [EOEditingContext new]];
  
      [EOFault makeObjectIntoFault: obj
               withHandler: handler];

      NSLog(@"AAA");
      [obj count];
      NSLog(@"AAB");


  DESTROY(arp);
  return 0;
}
