void RobotService_Report_Placed_Allowed(int x, int y, Facing f, string expected, [Frozen]Mock<IRobot> mockRobot, RobotService sut) { mockRobot.SetupRobotFixture(x, y, f, true); Assert.True(sut.Report() == expected); }
void RobotService_Report_NotPlaced_Ignored(int x, int y, Facing f, [Frozen] Mock<IRobot> mockRobot, RobotService sut) { mockRobot.SetupRobotFixture(x, y, f, false); Assert.True(sut.Report() == string.Empty); }