示例#1
0
        public void CardDevice_ReturnsTrue_When_IdTechCreatesIdTechDevice()
        {
            subject = new MEFDriver.IdTechDevice();
            string expected = "IdTech Device";

            Assert.Equal(expected, subject.Name);
        }
示例#2
0
        public void CardDevice_ReturnsFalse_When_IdTechCreatesVerifoneDevice()
        {
            subject = new MEFDriver.IdTechDevice();
            string expected = "Verifone Device";

            Assert.NotEqual(expected, subject.Name);
        }
示例#3
0
        public void CardDevice_ReturnsTrue_When_VerifoneCreatesVerifoneDevice()
        {
            subject = new MEFDriver.VerifoneDevice();
            string expected = "Verifone Device";

            Assert.Equal(expected, subject.Name);
        }