public void OperateOnPatchRepository_ForCommand_AddsTheRightArgument() { var command = new AddCommand(); command.OperateOnPatchRepository(); CollectionAssert.AreEqual( command.AdditionalArguments, new[] { "--mq", }); }
public void OperateOnPatchRepository_WithNullCommand_ThrowsArgumentNullException() { AddCommand command = null; Assert.Throws <ArgumentNullException>(() => command.OperateOnPatchRepository()); }