public void WithStrategy_properly_adds() { var builder = new DynamicCommandBuilder("myCommand", new ActionCommandStrategy(() => { }), null); builder.Strategies.Should().BeEmpty(); builder.WithStrategy(new BackgroundCommandStrategy()); builder.Strategies.Should().ContainSingle(); }