public void GetLocationMapping_UnitTest() { IAccessMapping accessMapping = default(IAccessMapping); ExecuteMethod( () => { return((IServiceDefinition)GetInstance()); }, instance => { accessMapping = AccessMappingImpl_UnitTests.GetInstance(); GetLocationMapping_PreCondition(instance, ref accessMapping); }, instance => { instance.GetLocationMapping(accessMapping); }, instance => { GetLocationMapping_PostValidate(instance, accessMapping); }); }
public void AddLocationMapping_UnitTest() { IAccessMapping accessMapping = default(IAccessMapping); String location = default(String); ExecuteMethod( () => { return((IServiceDefinition)GetInstance()); }, instance => { accessMapping = AccessMappingImpl_UnitTests.GetInstance(); location = default(String); //No Constructor AddLocationMapping_PreCondition(instance, ref accessMapping, ref location); }, instance => { instance.AddLocationMapping(accessMapping, location); }, instance => { AddLocationMapping_PostValidate(instance, accessMapping, location); }); }
public void LocationForAccessMapping_UnitTest() { String serviceType = default(String); Guid serviceIdentifier = default(Guid); IAccessMapping accessMapping = default(IAccessMapping); ExecuteMethod( () => { return((IILocationService)GetInstance()); }, instance => { serviceType = default(String); //No Constructor serviceIdentifier = default(Guid); //No Constructor accessMapping = AccessMappingImpl_UnitTests.GetInstance(); LocationForAccessMapping_PreCondition(instance, ref serviceType, ref serviceIdentifier, ref accessMapping); }, instance => { instance.LocationForAccessMapping(serviceType, serviceIdentifier, accessMapping); }, instance => { LocationForAccessMapping_PostValidate(instance, serviceType, serviceIdentifier, accessMapping); }); }