public void DeletePreset_Without_Authentication_Throws_AuphonicException() { Assert.That(() => _auphonic.DeletePreset(ValidUuid), Throws .InstanceOf <AuphonicException>() .And.Property("ErrorCode").EqualTo("") .And.Property("ErrorMessage").EqualTo(MessageNoCredentials)); }
public void Invoke_DeletePreset_Returns_Result() { HasAccessToken(); IsDependentOn("Invoke_CreatePreset_Returns_Result"); Assert.That(() => _auphonic.DeletePreset(_preset.Uuid), Throws.Nothing); }