public void Build__ReturnsProvider() { var config = new ConfigurationBuilder() .AddCommandLine(Array.Empty <string>()) .Build(); var source = new SpringBootCmdSource(config); var provider = source.Build(new ConfigurationBuilder()); Assert.IsType <SpringBootCmdProvider>(provider); }
public void Build__ReturnsProvider() { // Arrange var config = new ConfigurationBuilder() .AddCommandLine(new string[] { }) .Build(); // Act and Assert var source = new SpringBootCmdSource(config); var provider = source.Build(new ConfigurationBuilder()); Assert.IsType <SpringBootCmdProvider>(provider); }