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