public async Task Safe_Unprovision_called_when_MayDeleteUserData()
 {
     var ctx = Context.AllowDeleteUserData();
     var safe = new NeverDeletesUnprovision();
     await Assert.ThrowsAsync<InvalidOperationException>(() => safe.UnprovisionAsync(ctx));
 }
 public async Task Safe_Unprovision_called_when_MayDeleteUserData()
 {
     var ctx  = Context.AllowDeleteUserData();
     var safe = new NeverDeletesUnprovision();
     await Assert.ThrowsAsync <InvalidOperationException>(() => safe.UnprovisionAsync(ctx));
 }
 public async Task Safe_Unprovision_called_by_default()
 {
     var safe = new NeverDeletesUnprovision();
     await Assert.ThrowsAsync<InvalidOperationException>(() => safe.UnprovisionAsync(Context));
 }
 public async Task Safe_Unprovision_called_by_default()
 {
     var safe = new NeverDeletesUnprovision();
     await Assert.ThrowsAsync <InvalidOperationException>(() => safe.UnprovisionAsync(Context));
 }