public void GetIndex_ValidInputAndChildDoesNotExists_ReturnsExpectedResults() { // Arrange var message = new ADT_A01(); // Act var actual = MessageIterator.GetIndex(message, message.GetPROCEDURE().GetROL()); // Assert Assert.AreEqual(null, actual); }
public void GetIndex_ValidInputAndChildExists_ReturnsExpectedResults() { // Arrange var message = new ADT_A01(); var expected = new MessageIterator.Index("DB1", 0); // Act var actual = MessageIterator.GetIndex(message, message.GetDB1(0)); // Assert Assert.AreEqual(expected, actual); }