public void CheckVersionIsProvided_ShouldThrowExceptionIfVersionIsNotProvided() { // Arrange var authData = new AuthenticationData() { AuthenticationKey = "key", BusinessId = "businessid", Version = 1, Endpoint = "endpoint", Verb = "GET", VersionText = "incorrectText" }; // Act Assert Assert.Throws <AuthorizationException>(() => _helper.CheckVersionIsProvided(authData)); }