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