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)); }