public void GivenConfirmedUsersWhenGetNumberOfInactiveProfilesThenNotSupportedException(ProfileAuthenticationOption option) { // arrange var testClass = new BetterProfileProvider(); // act // assert Assert.Throws <NotSupportedException>( () => testClass.GetNumberOfInactiveProfiles(option, DateTime.MinValue)); }
public void GivenProfileProviderWhenGetAllProfilesThenThrowNotSupportedException(ProfileAuthenticationOption option) { // arrange var testClass = new BetterProfileProvider(); // act // assert int totalRecords; Assert.Throws <NotSupportedException>( () => testClass.GetAllProfiles(option, 0, 10, out totalRecords)); }
public void GivenConfirmedUsersWhenFindUsersbyUserNameThenThrowNotSupportedException( ProfileAuthenticationOption option) { // arrange var testClass = new BetterProfileProvider(); // act // assert int totalRecords1; Assert.Throws <NotSupportedException>( () => testClass.FindProfilesByUserName(option, "value", 0, 10, out totalRecords1)); }
public void GivenConfirmedUsersWhenGetAllInactiveProfilesThenNotSupportedException(ProfileAuthenticationOption option) { // arrange var testClass = new BetterProfileProvider(); // act // assert int totalRecords; Assert.Throws <NotSupportedException>( () => testClass.GetAllInactiveProfiles( option, DateTime.MinValue, 0, 10, out totalRecords)); }