Exemplo n.º 1
0
        public void Will_Execute_EditRemoveAndSort_Command_On_DTE(
            [Frozen] DTE2 dte,
            RemoveAndSortUsingsCommand sut,
            string filePath,
            ITextView textView)
        {
            sut.Execute(
                filePath + ".cs",
                textView);

            dte
            .Received(1)
            .ExecuteCommand(
                "Edit.RemoveAndSort",
                string.Empty);
        }