public void CheckExceptionIsThrown_WhenCallingGetLocalizedStringAsync_WithDefaltTableReference_WhenIsEmptyOrNull() { var ex = Assert.Throws <System.Exception>(() => m_Settings.GetStringDatabase().GetLocalizedStringAsync("Test Entry 1")); Assert.That(ex.Message, Is.EqualTo($"Trying to get the DefaultTable however the {m_TempStringDatabase.GetType().Name} DefaulTable value has not been set. This can be configured in the Localization Settings.")); }