public void ConstructHoldFingersTest(int[] selectedFingers, string expected) { ISerialPort port = mock.Object; SerialCommand command = new SerialCommand(port); string actual = command.MoveFingers(selectedFingers, true); Assert.Equal(expected, actual); }