SILUBS.ScriptureChecks.CapitalizationCheckSilUnitTest.Sentence_UncapitalizedWithApostrophe C# (CSharp) Method

Sentence_UncapitalizedWithApostrophe() private method

private Sentence_UncapitalizedWithApostrophe ( ) : void
return void
		public void Sentence_UncapitalizedWithApostrophe()
		{
			m_dataSource.m_tokens.Add(new DummyTextToken(
				"Yes! 'tis an uncaptialized sentence with apostrophe before the first lowercase letter!",
				TextType.Verse, true, false, "Paragraph"));
			m_check.Check(m_dataSource.TextTokens(), RecordError);
			Assert.AreEqual(1, m_errors.Count);

			CheckError(0, m_dataSource.m_tokens[0].Text, 6, "t", "Sentence should begin with a capital letter");
		}
CapitalizationCheckSilUnitTest