Ejemplo n.º 1
0
 public void DeleteProduction_Without_Authentication_Throws_AuphonicException()
 {
     Assert.That(() => _auphonic.DeleteProduction(ValidUuid), Throws
                 .InstanceOf <AuphonicException>()
                 .And.Property("ErrorCode").EqualTo("")
                 .And.Property("ErrorMessage").EqualTo(MessageNoCredentials));
 }
        public void Invoke_DeleteProduction_Returns_Result()
        {
            HasAccessToken();
            IsDependentOn("Invoke_CreateProduction_Returns_Result");

            Assert.That(() => _auphonic.DeleteProduction(_production.Uuid), Throws.Nothing);
        }