public void GetNormalisedTitle_NormalisesSimilarTitles(string titleA, string titleB) { var titleNormaliser = new TitleNormaliser(); var normalisedA = titleNormaliser.GetNormalisedTitle(titleA); var normalisedB = titleNormaliser.GetNormalisedTitle(titleB); normalisedA.Should().Be(normalisedB); }
public void GetNormalisedTitle_NullTitle_ReturnsFalse() { var titleNormaliser = new TitleNormaliser(); var normalised = titleNormaliser.GetNormalisedTitle(null); normalised.Should().BeNull(); }