コード例 #1
0
        public void IsTemplateCorrect_WhenTemplateInEuroVersionIsIncorrect_ThenReturnsFalse()
        {
            var specyficationEuro = new ConfirmationTemplateSpecyfication(new EuroPolicy());

            Assert.False(specyficationEuro.IsTemplateCorrect(StubConfirmation.IncorrectFormat()));
        }
コード例 #2
0
        public void IsTemplateCorrect_WhenTemplateInEuroVersionIsCorrect_ThenReturnsTrue()
        {
            var specyficationEuro = new ConfirmationTemplateSpecyfication(new EuroPolicy());

            Assert.True(specyficationEuro.IsTemplateCorrect(StubConfirmation.EURVersion()));
        }
        public void IsTemplateCorrect_WhenTemplateInPlnVersionIsInOtherFormat_ThenReturnsFalse()
        {
            var specyficationEuro = new ConfirmationTemplateSpecyfication(new PlnPolicy());

            Assert.False(specyficationEuro.IsTemplateCorrect(StubConfirmation.EURVersion()));
        }