public void ShouldNot_CreateCommand(string command) { Assert.Throws <Exception>(() => CommandDay12.CreateCommand(command)); }
public void Should_CreateCommand(string command, CommandDay12 expected) { var result = CommandDay12.CreateCommand(command); result.Should().BeEquivalentTo(expected); }