public void RemoveAzureVMChefExtensionExecuteChefCommand() { var getChefExtension = new RemoveAzureVMChefExtensionCommandStub() { CommandRuntime = mockCommandRuntime, VM = mockIPersistentVM, }; getChefExtension.ExecuteCommand(); Assert.AreEqual(1, mockCommandRuntime.OutputPipeline.Count, "One item should be in the output pipeline"); }