コード例 #1
0
ファイル: DigitalRightsSpecs.cs プロジェクト: eiu165/mvc3
 public void customer_cant_download_and_stream_if_production_revoked()
 {
     AssignRights();
     Assert.True(DigitalRights.CanDownload(customer, production));
     Assert.True(DigitalRights.CanStream(customer, production));
     DigitalRights.Revoke(customer, production);
     Assert.False(DigitalRights.CanDownload(customer, production));
     Assert.False(DigitalRights.CanStream(customer, production));
 }