public void TestCommandReportCanExecuteValid() { Robot robot = new Robot(2); StringBuilder sb = new StringBuilder(); StringWriter writer = new StringWriter(sb); var command = new ReportCommand(writer); Assert.IsTrue(command.CanExecute(robot)); }