Example #1
0
        public void InValidateGenBankLocationGetStart()
        {
            // Build a location.
            LocationResolver locResolver = new LocationResolver();

            // Validate GetStart method exception.
            try
            {
                locResolver.GetStart(null);
                Assert.Fail();
            }
            catch (ArgumentNullException)
            {
                LogExceptionMessage();
            }

            // Validate GetEnd method exception.
            try
            {
                locResolver.GetEnd(null);
                Assert.Fail();
            }
            catch (ArgumentNullException)
            {
                LogExceptionMessage();
            }
        }