GetAllProfiles() public method

public GetAllProfiles ( ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Profile.ProfileInfoCollection
authenticationOption ProfileAuthenticationOption
pageIndex int
pageSize int
totalRecords int
return System.Web.Profile.ProfileInfoCollection
        public void GivenProfileProviderWhenGetAllProfilesThenThrowNotSupportedException(ProfileAuthenticationOption option)
        {
            // arrange
            var testClass = new BetterProfileProvider();

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