public void ValidateAndSetTargetLanguageFromStringShouldSetTargetLanguageToCSharp() { codeGenerator.ValidateAndSetTargetLanguageFromString("CSharp"); codeGenerator.TargetLanguage.Should().Be(ODataT4CodeGenerator.LanguageOption.CSharp); }