public void Should_Factor_Multiple_Actions(AzDoBridgeIntent azDoBridgeIntent)
        {
            IAzDoBridgeAction action;
            var fac = AzDoBridgeActionFactory.TryGetAction(azDoBridgeIntent.ToString(), logger.Object, out action);

            fac.Should().BeTrue();
            action.GetType().Should().Equals(typeof(AzDoBridgeIntent));
        }
Example #2
0
 public static bool Is(this AzDoBridgeIntent intent, string name)
 {
     return(intent.ToString().Equals(name, StringComparison.OrdinalIgnoreCase));
 }