Exemplo n.º 1
0
 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));
 }