protected void SetUp() { testLocation = new Location(); testLocation.Latitude = 35.6895; testLocation.Longitude = 139.6917; testLocation.SecondsSinceUpdate = 23; IpV4Address = new Byte[] { 192, 168, 2, 101 }; mocks = new Mockery(); mockTrackingDataLogger = mocks.NewMock<ITrackingDataLogger>(); testSoapWebServiceApi = new SoapWebServiceApi(new Dictionary<string, OraclePermissionGeneratorDataInterfaceLayer>(), mockTrackingDataLogger); testSoapWebServiceApi.AddUser(testUserIdentifier); }
/// <include file='InterfaceDocumentationComments.xml' path='doc/members/member[@name="M:OraclePermissionGeneratorWebServiceAPI.ITrackingDataLogger.Log(System.DateTime,System.String,System.String,OraclePermissionGeneratorWebServiceAPI.Location,System.Byte[])"]/*'/> public void Log(DateTime timeStamp, string userIdentifier, string methodName, Location location, byte[] ipV4Address) { }
/// <summary> /// Initialises a new instance of the OraclePermissionGeneratorWebServiceAPI.UnitTests.LocationMatcher class. /// </summary> /// <param name="locationToMatch">The 'expected' LocationMatcher (as opposed to the 'actual' one provided in the method call.</param> public LocationMatcher(Location locationToMatch) { this.locationToMatch = locationToMatch; }