public void PinReader_Read_ShouldThrowException_IfPinpadCommunicationIsNull()
        {
            // Assert
            Assert.Throws <InvalidOperationException>(() =>
            {
                // Arrange
                IPinpadCommunication nullPinpadCommunication = null;

                // Act
                PinReader pinReader = new PinReader(nullPinpadCommunication);
            });
        }
 public void Setup()
 {
     this.pinReader = new PinReader(new Stubs.PinpadCommunicationStub());
 }