public void Given_lowercase_ods_implementation_then_response_is_true() { var input = new DatabaseVersionLevel { ScriptSource = "Ed-Fi-Ods" }; VersionLevelData.IsAnOdsRepositoryScript(input) .ShouldBeTrue(); }
public void Given_something_else_then_response_is_false() { var input = new DatabaseVersionLevel { ScriptSource = "Ed-Fi-ODS-Implementation" }; VersionLevelData.IsAnOdsRepositoryScript(input) .ShouldBeFalse(); }
public void Given_null_ods_then_response_is_false() { var input = new DatabaseVersionLevel { ScriptSource = null }; VersionLevelData.IsAnOdsRepositoryScript(input) .ShouldBeFalse(); }
public void Given_null_input_then_response_is_false() { VersionLevelData.IsAnOdsRepositoryScript(null) .ShouldBeFalse(); }