/// <summary> /// Executes the get station internal code from operator code valid operation. /// </summary> /// <param name="accessor">The accessor.</param> private static void ExecuteGetStationInternalCodeFromOperatorCodeNotValid(LmtDatabaseAccessor accessor) { uint? stationInternalCodeResult = 5555; string stationOperatorCode = "NotValid"; stationInternalCodeResult = accessor.GetStationInternalCodeFromOperatorCode(stationOperatorCode); Assert.IsNull(stationInternalCodeResult); }
/// <summary> /// Executes the get station internal code from operator code valid operation. /// </summary> /// <param name="accessor">The accessor.</param> /// <param name="stationOperatorCode">The station operator code.</param> /// <param name="stationInternalCodeExpected">The internal code expected.</param> private static void ExecuteGetStationInternalCodeFromOperatorCodeValid(LmtDatabaseAccessor accessor, string stationOperatorCode, uint?stationInternalCodeExpected) { uint?stationInternalCodeResult = null; stationInternalCodeResult = accessor.GetStationInternalCodeFromOperatorCode(stationOperatorCode); Assert.IsNotNull(stationInternalCodeResult); Assert.AreEqual(stationInternalCodeExpected, stationInternalCodeResult); }