public void GetLogDataService_GetAuthorizationContextForService_Returns_Administrator() { //------------Setup for test------------------------- var getLogData = new GetLogDataService(); //------------Execute Test--------------------------- var authorizationContextForService = getLogData.GetAuthorizationContextForService(); //------------Assert Results------------------------- Assert.AreEqual(AuthorizationContext.Administrator, authorizationContextForService); }
public void GetAuthorizationContextForService_ShouldReturnContext() { //------------Setup for test-------------------------- var getLogDataService = new GetLogDataService(); //------------Execute Test--------------------------- var resId = getLogDataService.GetAuthorizationContextForService(); //------------Assert Results------------------------- Assert.AreEqual(AuthorizationContext.Administrator, resId); }