BetterMembership.Web.BetterProfileProvider.GetNumberOfInactiveProfiles C# (CSharp) Method

GetNumberOfInactiveProfiles() public method

public GetNumberOfInactiveProfiles ( ProfileAuthenticationOption authenticationOption, System.DateTime userInactiveSinceDate ) : int
authenticationOption ProfileAuthenticationOption
userInactiveSinceDate System.DateTime
return int
        public override int GetNumberOfInactiveProfiles(
            ProfileAuthenticationOption authenticationOption, DateTime userInactiveSinceDate)
        {
            throw new NotSupportedException();
        }

Usage Example

        public void GivenConfirmedUsersWhenGetNumberOfInactiveProfilesThenNotSupportedException(ProfileAuthenticationOption option)
        {
            // arrange
            var testClass = new BetterProfileProvider();

            // act // assert
            Assert.Throws<NotSupportedException>(
                () => testClass.GetNumberOfInactiveProfiles(option, DateTime.MinValue));
        }