public void FetchGuidWithNullArrayShouldThrow() { BankImportUtilities subject = CreateSubject(); subject.FetchGuid(null, 2); Assert.Fail(); }
public void FetchGuidWithOutOfRangeIndexShouldThrow() { BankImportUtilities subject = CreateSubject(); string[] testArray = CreateTestArray(); subject.FetchGuid(testArray, 12); Assert.Fail(); }
public void FetchGuidWithInvalidGuidShouldThrow() { BankImportUtilities subject = CreateSubject(); string[] testArray = CreateTestArray(); subject.FetchGuid(testArray, 2); Assert.Fail(); }
public void FetchGuidWithValidGuidStringShouldReturnGuid() { BankImportUtilities subject = CreateSubject(); string[] testArray = CreateTestArray(); Guid result = subject.FetchGuid(testArray, 4); Assert.IsInstanceOfType(result, typeof(Guid)); Assert.AreNotEqual(Guid.Empty, result); }