public void ReturnsCorrectHash() { //Arrange var contentBytes = Encoding.UTF8.GetBytes("This is the content to hash."); //Act var computedHash = AuthenticationHandler.ComputeHash(contentBytes); //Assert var expectedHash = "gvXOB75lBGBY6LVTAVVpapZkBOv531VUE0EHrP2rryE="; Assert.Equal(expectedHash, computedHash); }