public void NullNamespaceNullText() { var handler = new Eio3Handler(); var result = handler.CheckConnection(null, null); Assert.IsFalse(result.Result); Assert.IsNull(result.Id); }
public void WrongNamespace() { var handler = new Eio3Handler(); var result = handler.CheckConnection("/test", "/nsp,"); Assert.IsFalse(result.Result); Assert.IsNull(result.Id); }
public void CorrectNamespaceTextEndsWithoutComma() { var handler = new Eio3Handler(); var result = handler.CheckConnection("/test", "/test"); Assert.IsTrue(result.Result); Assert.IsNull(result.Id); }
public void NullNamespaceEmptyText() { var handler = new Eio3Handler(); var result = handler.CheckConnection(null, string.Empty); Assert.IsTrue(result.Result); Assert.IsNull(result.Id); }