function create_appEntityManager(injectFn){
        var breeze = injectFn('breeze');

        var fullServiceName = testFns.serviceBase+testFns.serviceName;

        var dataService = new breeze.DataService({
                hasServerMetadata: false,
                serviceName: fullServiceName}
        );

        var metadataStore = new breeze.MetadataStore();
        metadataStore.addDataService(dataService);

        var model = injectFn('model');
        model.addToMetadataStore(metadataStore);

        var em = new breeze.EntityManager({
            dataService: dataService,
            metadataStore: metadataStore
        });
        return em;
    }
****************************************************
Create a BreezeJS 'EntityManager'
with the app's dataservice and metadata and model
given an injector function with access to the necessary app services
******************************************************