BetterMembership.Tests.Web.BetterProfileProviderTests.GivenProfileProviderWhenGetAllProfilesThenThrowNotSupportedException C# (CSharp) Метод

GivenProfileProviderWhenGetAllProfilesThenThrowNotSupportedException() приватный Метод

private GivenProfileProviderWhenGetAllProfilesThenThrowNotSupportedException ( ProfileAuthenticationOption option ) : void
option ProfileAuthenticationOption
Результат void
        public void GivenProfileProviderWhenGetAllProfilesThenThrowNotSupportedException(ProfileAuthenticationOption option)
        {
            // arrange
            var testClass = new BetterProfileProvider();

            // act // assert
            int totalRecords;
            Assert.Throws<NotSupportedException>(
                () => testClass.GetAllProfiles(option, 0, 10, out totalRecords));
        }
    }