public void GivenConfirmedUsersWhenGetNumberOfInactiveProfilesThenNotSupportedException(ProfileAuthenticationOption option) { // arrange var testClass = new BetterProfileProvider(); // act // assert Assert.Throws<NotSupportedException>( () => testClass.GetNumberOfInactiveProfiles(option, DateTime.MinValue)); }