public void ClickCommand_Issues_Through_Button_Returns_Clicked() { Button button = new WindowsFactory().CreateButton(window); button.Click(); Assert.AreEqual("Clicked", window.DrawnText); }