CSMSL.Tests.Proteomics.PeptideTestFixture.SetResiduePositionModificationOutOfRangeUpper C# (CSharp) Method

SetResiduePositionModificationOutOfRangeUpper() private method

private SetResiduePositionModificationOutOfRangeUpper ( ) : void
return void
        public void SetResiduePositionModificationOutOfRangeUpper()
        {
            ChemicalFormula formula = new ChemicalFormula("Fe");
            Assert.Throws<IndexOutOfRangeException>(()=>_mockPeptideEveryAminoAcid.SetModification(formula, 25), "Residue number not in the correct range: [1-20] you specified: 25");
        }
PeptideTestFixture