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); }