public void GetName_NoSupportedName_TrhowsNotSupportedException() { var commonNames = DummyFactory.GetDummyCommonNames(); Assert.Throws <NotSupportedException>(() => commonNames.GetName("NonExistantName")); }